Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorSimon Schampijer <simon@schampijer.de>2007-09-07 09:26:11 (GMT)
committer Simon Schampijer <simon@schampijer.de>2007-09-07 09:26:11 (GMT)
commit553709c8698faac952012524f1b258fecad0d7e8 (patch)
treebf701a40d46db53bf1349746f855d6ee977c602c /shell
parent7f8b000a92af8f5b44bc84653c63fbe647d79737 (diff)
Fix when item is removed from clipboard tray
Diffstat (limited to 'shell')
-rw-r--r--shell/view/frame/clipboardbox.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/shell/view/frame/clipboardbox.py b/shell/view/frame/clipboardbox.py
index a083b76..9c6d859 100644
--- a/shell/view/frame/clipboardbox.py
+++ b/shell/view/frame/clipboardbox.py
@@ -121,9 +121,7 @@ class ClipboardBox(hippo.CanvasBox):
def _object_deleted_cb(self, cb_service, object_id):
icon = self._icons[object_id]
- position = self.get_children().index(icon)
- self.remove(icon)
-
+ self._tray.remove_item(icon)
del self._icons[object_id]
logging.debug('ClipboardBox: ' + object_id + ' was deleted.')