From e0785e7aabd89ba21a913fc97d2c6e89352f6f14 Mon Sep 17 00:00:00 2001 From: Tomeu Vizoso Date: Sat, 18 Aug 2007 18:35:45 +0200 Subject: [PATCH] Fix dragging clipboard objects out from the frame. --- shell/view/frame/clipboardbox.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/view/frame/clipboardbox.py b/shell/view/frame/clipboardbox.py index 6c5870f0..33d583ca 100644 --- a/shell/view/frame/clipboardbox.py +++ b/shell/view/frame/clipboardbox.py @@ -75,7 +75,7 @@ class ClipboardBox(hippo.CanvasBox): return self._owns_clipboard def _get_icon_at_coords(self, x, y): - box_x, box_y = self.get_context().get_position(self) + box_x, box_y = self.get_context().translate_to_widget(self) x -= box_x y -= box_y for object_id, icon in self._icons.iteritems():