Refactor activity share/join in Activity.__init__() to be clearer and cover all cases

Remove the 'pservice_id' attribute of the ActivityHandle too, since it was
completely pointless and should have been the same as the activity id anyway.
Share/join is handled in the Activity.__init__() method and the shell doesn't
really need to know about it at all.
This commit is contained in:
Dan Williams
2007-09-01 13:07:49 -04:00
parent d79db5d172
commit 739b9160b1
4 changed files with 42 additions and 58 deletions
-2
View File
@@ -131,8 +131,6 @@ class Shell(gobject.GObject):
return
handle = ActivityHandle(activity_id)
handle.pservice_id = activity_id
activityfactory.create(bundle_id, handle)
def notify_launch(self, bundle_id, activity_id):