diff --git a/sugar/activity/Activity.py b/sugar/activity/Activity.py index a9ce024d..61b1cde8 100644 --- a/sugar/activity/Activity.py +++ b/sugar/activity/Activity.py @@ -102,7 +102,7 @@ class Activity(gtk.Window): self._service = None self._pservice = PresenceService.get_instance() - self.present() + self.realize() group = gtk.Window() group.realize() @@ -113,6 +113,7 @@ class Activity(gtk.Window): def start(self): """Start the activity.""" self._activity_id = sugar.util.unique_id() + self.present() def get_type(self): """Gets the activity type.""" @@ -149,6 +150,8 @@ class Activity(gtk.Window): else: logging.error('Cannot join the activity') + self.present() + def share(self): """Share the activity on the network.""" logging.debug('Share activity %s on the network.' % self.get_id())