~exaile-bugday/+junk/exaile

« back to all changes in this revision

Viewing changes to xlgui/guiutil.py

  • Committer: guillaume86
  • Date: 2009-07-28 18:20:27 UTC
  • Revision ID: guillaume86-20090728182027-aqk3d4uxi294ow3w
use guiutil.get_urls_for for all dnd operations and make dnd outside exaile possible

Show diffs side-by-side

added added

removed removed

Lines of Context:
272
272
        tracks = []
273
273
        playlists = []
274
274
        for loc in locs:
275
 
            loc = loc.replace('file://', '')
276
275
            loc = urllib.unquote(loc)
277
276
            (found_tracks, found_playlist) = self._handle_unknown_drag_data(loc)
278
277
            tracks.extend(found_tracks)
737
736
    """
738
737
        Returns the items' URLs
739
738
    """
740
 
    return [urllib.quote(item.get_loc().encode(common.get_default_encoding()))
 
739
    return [urllib.quote(item.get_loc().encode(common.get_default_encoding()), '/:')
741
740
        for item in items]
742
741
 
743
742
def finish(repeat=True):