[Sugar-devel] [PATCH] Sugar:Do not cache the activity tray palette - OLPC #10978

godiard at sugarlabs.org godiard at sugarlabs.org
Wed Jul 6 09:31:01 EDT 2011


From: Gonzalo Odiard <godiard at gmail.com>

Needed to update the secondary text if the title in the activity changes.

Signed-off-by: Gonzalo Odiard <gonzalo at laptop.org>
---
 src/jarabe/frame/activitiestray.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/jarabe/frame/activitiestray.py b/src/jarabe/frame/activitiestray.py
index 5445b49..2b5bf8d 100644
--- a/src/jarabe/frame/activitiestray.py
+++ b/src/jarabe/frame/activitiestray.py
@@ -54,6 +54,7 @@ class ActivityButton(RadioToolButton):
         RadioToolButton.__init__(self, group=group)
 
         self.set_palette_invoker(FrameWidgetInvoker(self))
+        self.palette_invoker.cache_palette = False
 
         self._home_activity = home_activity
         self._notify_launch_hid = None
-- 
1.7.4.4



More information about the Sugar-devel mailing list