Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sugar/activity/Activity.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/sugar/activity/Activity.py b/sugar/activity/Activity.py
index a9ce024..61b1cde 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())