diff options
author | Tomeu Vizoso <tomeu@tomeuvizoso.net> | 2007-05-20 10:36:55 (GMT) |
---|---|---|
committer | Tomeu Vizoso <tomeu@tomeuvizoso.net> | 2007-05-20 10:36:55 (GMT) |
commit | 04fc7047c2a640f731090839137f26cacc16094c (patch) | |
tree | a64195c3730b432d732f3c8dc6df63114ca21f1d /shell | |
parent | 5d4b9b1dfa6a10e25062f439b1af30cdfa06e3d2 (diff) |
Don't autolaunch downloaded docs, this will be done from the Web activity.
Diffstat (limited to 'shell')
-rw-r--r-- | shell/view/clipboardicon.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/shell/view/clipboardicon.py b/shell/view/clipboardicon.py index fb370fb..fc609f6 100644 --- a/shell/view/clipboardicon.py +++ b/shell/view/clipboardicon.py @@ -106,16 +106,6 @@ class ClipboardIcon(CanvasIcon): else: self.props.xo_color = XoColor("#000000,#FFFFFF") - if activity and percent == 100: - # FIXME: restrict based on file type rather than activity once - # we have a better type registry - # restrict auto-open to a specific set of activities - allowed = ["org.laptop.AbiWordActivity", - "org.laptop.sugar.Xbook", - "org.vpri.EtoysActivity"] - if activity in allowed: - self._open_file() - def _open_file(self): if self._percent < 100: return |