Adapt to API changes
This commit is contained in:
parent
1d4112a882
commit
30bee7e43a
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user