Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorDan Williams <dcbw@localhost.localdomain>2006-09-22 21:37:41 (GMT)
committer Dan Williams <dcbw@localhost.localdomain>2006-09-22 21:37:41 (GMT)
commite92548df5c0cd1db4b6fd31a80844ffd4e530448 (patch)
treec02d576c9ff638e7cfa4514a3222293145bd0b51 /shell
parentd12c57895ccc310f51fb5ccaa3e8bad2bfdcb788 (diff)
Use the new BuddyModel color-changed signal
Diffstat (limited to 'shell')
-rw-r--r--shell/view/BuddyIcon.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/shell/view/BuddyIcon.py b/shell/view/BuddyIcon.py
index 2109226..f6386e0 100644
--- a/shell/view/BuddyIcon.py
+++ b/shell/view/BuddyIcon.py
@@ -10,8 +10,9 @@ class BuddyIcon(MenuIcon):
self._buddy = buddy
self._buddy.connect('appeared', self.__buddy_presence_change_cb)
self._buddy.connect('disappeared', self.__buddy_presence_change_cb)
+ self._buddy.connect('color-changed', self.__buddy_presence_change_cb)
- def __buddy_presence_change_cb(self, buddy):
+ def __buddy_presence_change_cb(self, buddy, color=None):
# Update the icon's color when the buddy comes and goes
self.set_property('color', buddy.get_color())