Pass an uri to the activity
This commit is contained in:
parent
2ab9cd04dc
commit
27414754a1
@ -124,7 +124,8 @@ class ClipboardIcon(CanvasIcon):
|
|||||||
path_exists = False
|
path_exists = False
|
||||||
|
|
||||||
if path_exists:
|
if path_exists:
|
||||||
activityfactory.create_with_uri(self._activity, path)
|
uri = 'file://' + path
|
||||||
|
activityfactory.create_with_uri(self._activity, uri)
|
||||||
else:
|
else:
|
||||||
logging.debug("Clipboard item file path %s didn't exist" % path)
|
logging.debug("Clipboard item file path %s didn't exist" % path)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user