From 30bee7e43a8879201e234035522786b07dec60ca Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Fri, 29 Jun 2007 22:14:27 +0200 Subject: [PATCH] Adapt to API changes --- bin/sugar-activity | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/bin/sugar-activity b/bin/sugar-activity index 3e9c1c5a..2e41cf86 100755 --- a/bin/sugar-activity +++ b/bin/sugar-activity @@ -47,7 +47,6 @@ def _error_cb(handler, err): def print_help(self): sys.exit(0) - activity_info = None if len(sys.argv) > 1: @@ -75,8 +74,6 @@ if name: else: activityfactoryservice.run(activity_info.path) -handler = activityfactory.create(activity_info.service_name) -handler.connect('success', _success_cb, name != None) -handler.connect('error', _error_cb) +activityfactory.create(activity_info.service_name) gtk.main()