Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Winship <dwinship@redhat.com>2007-08-22 22:23:20 (GMT)
committer Dan Winship <dwinship@redhat.com>2007-08-22 22:23:20 (GMT)
commitda6a31aa803e71a438cd38c7de8125494ae70e4f (patch)
tree788ef01eaa4ef583fca847560739d6ab9db6ec24
parent0a18473ca7683aac3dfc9964c78a005ac6ea141d (diff)
Revert "Notice when (non-sugar) activity factories fail to launch. #1975"
This reverts commit d2aba901c3f85e66ba9c5b6b5d506f472552b48b. The change made etoys *always* apparently fail to launch; the problem is with sugar-native-factory, not activityfactory.py
-rw-r--r--sugar/activity/activityfactory.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/sugar/activity/activityfactory.py b/sugar/activity/activityfactory.py
index b1d55eb..404e5f4 100644
--- a/sugar/activity/activityfactory.py
+++ b/sugar/activity/activityfactory.py
@@ -114,7 +114,7 @@ class ActivityCreationHandler(gobject.GObject):
self._factory.create(self._activity_handle.get_dict(),
timeout=120 * 1000,
- reply_handler=self._create_reply_handler,
+ reply_handler=self._no_reply_handler,
error_handler=self._create_error_handler)
def get_activity_id(self):
@@ -137,10 +137,7 @@ class ActivityCreationHandler(gobject.GObject):
def _activate_error_handler(self, err):
logging.debug("Activity activation request failed %s" % err)
- def _create_reply_handler(self, xid=None):
- if xid is None:
- self._create_error_handler('D-Bus error')
- return
+ def _create_reply_handler(self, xid):
logging.debug("Activity created %s (%s)." %
(self._activity_handle.activity_id, self._service_name))