From 39e1e0808224b33f898fcd240300e76418560c6a Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Fri, 8 Sep 2006 11:54:31 +0200 Subject: [PATCH] Fix redrawing --- sugar/canvas/IconItem.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sugar/canvas/IconItem.py b/sugar/canvas/IconItem.py index babc2529..4c13c602 100644 --- a/sugar/canvas/IconItem.py +++ b/sugar/canvas/IconItem.py @@ -96,6 +96,8 @@ class IconView(goocanvas.ItemViewSimple, goocanvas.ItemView): self.item.user_bounds_to_device(cr, bounds) self.bounds = bounds + self.get_canvas_view().request_redraw(self.bounds) + cr.restore() return self.bounds