diff options
author | Marco Pesenti Gritti <mpg@redhat.com> | 2007-09-26 09:00:16 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <mpg@redhat.com> | 2007-09-26 09:00:16 (GMT) |
commit | 79db01065349d796aeb566c1e057186de7e0b75e (patch) | |
tree | 7d8c0b4108bc0a090af8c7e7b97a09889eb5213e /shell | |
parent | 2a197bb8b863a0f2a71e40a501fe5f2e8e07f371 (diff) |
Fix uri list parsing
Diffstat (limited to 'shell')
-rw-r--r-- | shell/view/clipboardmenu.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/shell/view/clipboardmenu.py b/shell/view/clipboardmenu.py index 5acd8cc..f6190e4 100644 --- a/shell/view/clipboardmenu.py +++ b/shell/view/clipboardmenu.py @@ -183,7 +183,8 @@ class ClipboardMenu(Palette): transfer_ownership = False if format == 'text/uri-list': - file_path = urlparse.urlparse(data['DATA']).path + uri = mime.split_uri_list(data['DATA'])[0] + file_path = urlparse.urlparse(uri).path else: if data['ON_DISK']: file_path = urlparse.urlparse(data['DATA']).path |