diff options
author | Marco Pesenti Gritti <marco@localhost.localdomain> | 2007-06-29 20:11:28 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <marco@localhost.localdomain> | 2007-06-29 20:11:28 (GMT) |
commit | 1d4112a8825480169517b09305271646fca69286 (patch) | |
tree | a9a7bb8eac28b352fd03afd9d0dd1b8554b1a82a /sugar/activity/activityfactory.py | |
parent | a609da166bf203eca430c7c3d35bd55d2acf33bf (diff) |
Set glib program name and application name.
Better way of importing ltihooks.
Several cleanups.
Diffstat (limited to 'sugar/activity/activityfactory.py')
-rw-r--r-- | sugar/activity/activityfactory.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sugar/activity/activityfactory.py b/sugar/activity/activityfactory.py index f3e8bbe..d1480b2 100644 --- a/sugar/activity/activityfactory.py +++ b/sugar/activity/activityfactory.py @@ -129,9 +129,8 @@ class ActivityCreationHandler(gobject.GObject): logging.debug("Couldn't create activity %s (%s): %s" % (self._activity_handle.activity_id, self._service_name, err)) self._shell.NotifyLaunchFailure( - service_name, self.get_activity_id(), - reply_handler=self._no_reply_handler, - error_handler=self._notify_launch_failure_error_handler) + self.get_activity_id(), reply_handler=self._no_reply_handler, + error_handler=self._notify_launch_failure_error_handler) def create(service_name, activity_handle=None): """Create a new activity from its name.""" |