[Sugar-devel] [PATCH] Sugar-toolkit: Initialize window title with bundle name - OLPC #11037
godiard at sugarlabs.org
godiard at sugarlabs.org
Wed Jul 6 09:50:14 EDT 2011
From: Gonzalo Odiard <godiard at gmail.com>
The activity tray palette compares the title with the bundle name
to check if a secondary text will be displayed.
Signed-off-by: Gonzalo Odiard <gonzalo at laptop.org>
---
src/sugar/activity/activity.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/sugar/activity/activity.py b/src/sugar/activity/activity.py
index 35ad485..a08bf03 100644
--- a/src/sugar/activity/activity.py
+++ b/src/sugar/activity/activity.py
@@ -275,7 +275,6 @@ class Activity(Window, gtk.Container):
self.connect('realize', self.__realize_cb)
self.connect('delete-event', self.__delete_event_cb)
-
self._active = False
self._activity_id = handle.activity_id
self.shared_activity = None
@@ -304,6 +303,7 @@ class Activity(Window, gtk.Container):
share_scope = SCOPE_PRIVATE
+ self.set_title(get_bundle_name())
if handle.object_id:
self._jobject = datastore.get(handle.object_id)
self.set_title(self._jobject.metadata['title'])
--
1.7.4.4
More information about the Sugar-devel
mailing list