Adapt to API changes

This commit is contained in:
Marco Pesenti Gritti 2007-06-29 22:14:27 +02:00
parent 1d4112a882
commit 30bee7e43a

View File

@ -47,7 +47,6 @@ def _error_cb(handler, err):
def print_help(self): def print_help(self):
sys.exit(0) sys.exit(0)
activity_info = None activity_info = None
if len(sys.argv) > 1: if len(sys.argv) > 1:
@ -75,8 +74,6 @@ if name:
else: else:
activityfactoryservice.run(activity_info.path) activityfactoryservice.run(activity_info.path)
handler = activityfactory.create(activity_info.service_name) activityfactory.create(activity_info.service_name)
handler.connect('success', _success_cb, name != None)
handler.connect('error', _error_cb)
gtk.main() gtk.main()