diff options
author | Dan Williams <dcbw@localhost.localdomain> | 2007-01-07 05:04:30 (GMT) |
---|---|---|
committer | Dan Williams <dcbw@localhost.localdomain> | 2007-01-07 05:04:30 (GMT) |
commit | fb716ae0466547ea4e6c580b9d55fe015139201f (patch) | |
tree | 34269bea5a1bee422bea58b947906b8d40c5b6f2 /shell/model/homemodel.py | |
parent | 8cea4c5fc6de37dd47843af014c4730f04f4dc1d (diff) |
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.
Diffstat (limited to 'shell/model/homemodel.py')
-rw-r--r-- | shell/model/homemodel.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/model/homemodel.py b/shell/model/homemodel.py index f7d16c9..b1b4c8f 100644 --- a/shell/model/homemodel.py +++ b/shell/model/homemodel.py @@ -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: |