diff options
author | Tomeu <tomeu@bicho.(none)> | 2007-05-13 16:21:35 (GMT) |
---|---|---|
committer | Tomeu <tomeu@bicho.(none)> | 2007-05-13 16:21:35 (GMT) |
commit | f3289d2e59bff57c1908c306a78ac8fec7c7db4f (patch) | |
tree | 06cfc9dd63b87e6554d4be15ce9eb154fd492505 /shell | |
parent | 309ddec8b769af42f577229bc5e3278c0328f1c4 (diff) |
Implement setting the journal entry title from the toolbar.
Diffstat (limited to 'shell')
-rw-r--r-- | shell/view/frame/clipboardbox.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/view/frame/clipboardbox.py b/shell/view/frame/clipboardbox.py index 4a01610..85fadef 100644 --- a/shell/view/frame/clipboardbox.py +++ b/shell/view/frame/clipboardbox.py @@ -84,7 +84,7 @@ class ClipboardBox(hippo.CanvasBox): if len(uris) > 1: raise NotImplementedError('Multiple uris in text/uri-list still not supported.') uri = urlparse.urlparse(uris[0]) - path, file_name = os.path.split(uri.path) + path, file_name = os.path.split(uri[2]) # Copy the file, as it will be deleted when the dnd operation finishes. new_file_path = os.path.join(path, 'cb' + file_name) |