Autolaunch etoys projects
This commit is contained in:
parent
1f61c5f65e
commit
1420265d06
@ -100,7 +100,9 @@ class ClipboardIcon(CanvasIcon):
|
|||||||
# FIXME: restrict based on file type rather than activity once
|
# FIXME: restrict based on file type rather than activity once
|
||||||
# we have a better type registry
|
# we have a better type registry
|
||||||
# restrict auto-open to a specific set of activities
|
# restrict auto-open to a specific set of activities
|
||||||
allowed = ["org.laptop.AbiWordActivity", "org.laptop.sugar.Xbook"]
|
allowed = ["org.laptop.AbiWordActivity",
|
||||||
|
"org.laptop.sugar.Xbook",
|
||||||
|
"org.vpri.EtoysActivity"]
|
||||||
if activity in allowed:
|
if activity in allowed:
|
||||||
self._open_file()
|
self._open_file()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user