[Sugar-devel] [PATCH] Make sure the buddy palette is disposed after popdown #1742

Tomeu Vizoso tomeu.vizoso at collabora.co.uk
Thu Oct 14 12:50:17 EDT 2010


---
 src/jarabe/view/buddyicon.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/jarabe/view/buddyicon.py b/src/jarabe/view/buddyicon.py
index 37b9167..332c0c8 100644
--- a/src/jarabe/view/buddyicon.py
+++ b/src/jarabe/view/buddyicon.py
@@ -28,6 +28,8 @@ class BuddyIcon(CanvasIcon):
         self._buddy.connect('notify::present', self.__buddy_notify_present_cb)
         self._buddy.connect('notify::color', self.__buddy_notify_color_cb)
 
+        self.palette_invoker.cache_palette = False
+
         self._update_color()
 
     def create_palette(self):
-- 
1.7.2.3



More information about the Sugar-devel mailing list