From 35e64c154a606879d8309cc285279b814800de8d Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Sun, 10 Sep 2006 23:48:23 +0200 Subject: [PATCH] Redraw existing bounds on do_update --- sugar/canvas/IconItem.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sugar/canvas/IconItem.py b/sugar/canvas/IconItem.py index cf67283b..310be276 100644 --- a/sugar/canvas/IconItem.py +++ b/sugar/canvas/IconItem.py @@ -91,6 +91,8 @@ class IconView(goocanvas.ItemViewSimple, goocanvas.ItemView): if self.transform != None: cr.transform(self.transform) + self.get_canvas_view().request_redraw(self.bounds) + bounds = goocanvas.Bounds() bounds.x1 = self.item.x bounds.y1 = self.item.y