Make activity launching asynchronous
The ActivityFactory create() method now returns a handler GObject, which callers may attach signals to to receive success and error signals from the result of the activity launch request.
This commit is contained in:
@@ -127,7 +127,7 @@ class HomeModel(gobject.GObject):
|
||||
del self._activities[act_id]
|
||||
|
||||
def _remove_activity(self, xid):
|
||||
activity = self._get_activity_by_xid(window.get_xid())
|
||||
activity = self._get_activity_by_xid(xid)
|
||||
if activity:
|
||||
self._internal_remove_activity(activity)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user