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:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user