Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu@tomeuvizoso.net>2007-03-20 11:58:52 (GMT)
committer Tomeu Vizoso <tomeu@tomeuvizoso.net>2007-03-20 11:58:52 (GMT)
commit0bf1d579e2a2e2ec52ee42e5c7afd8cd41fd2300 (patch)
tree5ababc37796869c4b9b93694bc87898e342e0b7e /shell
parented99a8bbffad48997adfd7fe2b06784558294a81 (diff)
Fix for removing items from the clipboard.
Diffstat (limited to 'shell')
-rw-r--r--shell/view/frame/clipboardbox.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/view/frame/clipboardbox.py b/shell/view/frame/clipboardbox.py
index 422d838..b1a53c4 100644
--- a/shell/view/frame/clipboardbox.py
+++ b/shell/view/frame/clipboardbox.py
@@ -130,7 +130,7 @@ class ClipboardBox(hippo.CanvasBox):
position = self.get_children().index(icon)
self.remove(icon)
- if icon.props.selected:
+ if icon.props.selected and self.get_children():
self._set_icon_selected(self.get_children()[position])
del self._icons[object_id]