diff options
Diffstat (limited to 'shell/view/clipboardmenu.py')
-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 |