diff options
author | Marco Pesenti Gritti <marco@localhost.localdomain> | 2007-01-12 20:35:53 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <marco@localhost.localdomain> | 2007-01-12 20:35:53 (GMT) |
commit | 6971ddb9a44782cd525d6a0f416bdf3cdb82d346 (patch) | |
tree | ba9b9054026271cda32f1e2570ad302a1097713e /shell/view/BuddyMenu.py | |
parent | 55339d4bea6ac9bddfce526d9271a4a93bc844b3 (diff) |
Support for activity icons inside the bundle.
Patch by Gonzalo Odiard <godiard@gmail.com>
Modified by me to allow icon theme to override the bundle one.
Diffstat (limited to 'shell/view/BuddyMenu.py')
-rw-r--r-- | shell/view/BuddyMenu.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/shell/view/BuddyMenu.py b/shell/view/BuddyMenu.py index 82e58c2..2909fd9 100644 --- a/shell/view/BuddyMenu.py +++ b/shell/view/BuddyMenu.py @@ -82,10 +82,10 @@ class BuddyMenu(Menu): friends = shell_model.get_friends() if friends.has_buddy(self._buddy): - icon = CanvasIcon(icon_name='stock-remove') + icon = CanvasIcon(icon_name='theme:stock-remove') self.add_action(icon, BuddyMenu.ACTION_REMOVE_FRIEND) else: - icon = CanvasIcon(icon_name='stock-add') + icon = CanvasIcon(icon_name='theme:stock-add') self.add_action(icon, BuddyMenu.ACTION_MAKE_FRIEND) activity = shell_model.get_home().get_current_activity() @@ -94,7 +94,7 @@ class BuddyMenu(Menu): # FIXME check that the buddy is not in the activity already - icon = CanvasIcon(icon_name='stock-invite') + icon = CanvasIcon(icon_name='theme:stock-invite') self.add_action(icon, BuddyMenu.ACTION_INVITE) def __buddy_icon_changed_cb(self, buddy): |