Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@localhost.localdomain>2007-05-21 10:47:28 (GMT)
committer Marco Pesenti Gritti <marco@localhost.localdomain>2007-05-21 10:47:28 (GMT)
commit17b31427765d21591986b927955f6f5342201d82 (patch)
tree6848e43c192ec8411b0e4f87a1d8b6d9086de9ba /shell
parentf1d67f661e22150381886784d80c79e0db542e17 (diff)
parent8c8dffe662b9b2491eed2e553e3165c827f1c3cc (diff)
Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
Conflicts: configure.ac
Diffstat (limited to 'shell')
-rw-r--r--shell/view/clipboardicon.py10
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