diff options
author | Marco Pesenti Gritti <marco@localhost.localdomain> | 2006-08-17 12:23:52 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <marco@localhost.localdomain> | 2006-08-17 12:23:52 (GMT) |
commit | f65d23c44002fe94477cb3354667e9297e386092 (patch) | |
tree | ffa41ac5844b5660288af9f8c80e880e3d5584a7 /shell/ChatController.py | |
parent | 10f356cb22ffcaddfbbcd0b8332ef65409e5bf5f (diff) |
Add icon for activity to the donut.
Add signals in the shell for window open/close and use them in the task view.
Diffstat (limited to 'shell/ChatController.py')
-rw-r--r-- | shell/ChatController.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/shell/ChatController.py b/shell/ChatController.py index 96d2fd0..00bab80 100644 --- a/shell/ChatController.py +++ b/shell/ChatController.py @@ -13,7 +13,8 @@ class ChatController: self._shell.connect('activity-closed', self.__activity_closed_cb) - def __activity_closed_cb(self, shell, activity_id): + def __activity_closed_cb(self, shell, activity): + activity_id = activity.get_id() if self._id_to_name.has_key(activity_id): name = self._id_to_name[activity_id] del self._name_to_chat[name] |