From 54f8f90f512059777ac7c1ccfa5591519fc9a68a Mon Sep 17 00:00:00 2001
From: Aleksey Lim <alsroot@member.fsf.org>
Date: Fri, 3 Apr 2009 18:32:26 +0000
Subject: Sometimes an activity will not start; workaround fix #461
---
src/sugar/activity/activityfactory.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/sugar/activity/activityfactory.py b/src/sugar/activity/activityfactory.py
index e218a7c..7b23f38 100644
a
|
b
|
class ActivityCreationHandler(gobject.GObject): |
298 | 298 | logging.debug('Notify launch failed %s' % err) |
299 | 299 | |
300 | 300 | def _activate_reply_handler(self, activated): |
301 | | if not activated: |
302 | | self._create_activity() |
| 301 | # XXX we ignore "activated" to suppress #461 race condition |
| 302 | self._create_activity() |
303 | 303 | |
304 | 304 | def _activate_error_handler(self, err): |
305 | 305 | logging.error("Activity activation request failed %s" % err) |