diff options
author | Marco Pesenti Gritti <mpg@redhat.com> | 2007-03-22 15:55:07 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <mpg@redhat.com> | 2007-03-22 15:55:07 (GMT) |
commit | 27414754a117e14a7bf7f79ba6309cfa6f05ef28 (patch) | |
tree | e8d35fbc14499dbb3a04e525d60e0dee3ab16310 /shell | |
parent | 2ab9cd04dce8ce80475855c1015628edc82e5720 (diff) |
Pass an uri to the activity
Diffstat (limited to 'shell')
-rw-r--r-- | shell/view/clipboardicon.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/shell/view/clipboardicon.py b/shell/view/clipboardicon.py index cb33e84..ef0de29 100644 --- a/shell/view/clipboardicon.py +++ b/shell/view/clipboardicon.py @@ -124,7 +124,8 @@ class ClipboardIcon(CanvasIcon): path_exists = False if path_exists: - activityfactory.create_with_uri(self._activity, path) + uri = 'file://' + path + activityfactory.create_with_uri(self._activity, uri) else: logging.debug("Clipboard item file path %s didn't exist" % path) |