Pass an uri to the activity

This commit is contained in:
Marco Pesenti Gritti 2007-03-22 16:55:07 +01:00
parent 2ab9cd04dc
commit 27414754a1

View File

@ -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)