Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/view/BuddyMenu.py
diff options
context:
space:
mode:
Diffstat (limited to 'shell/view/BuddyMenu.py')
-rw-r--r--shell/view/BuddyMenu.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/shell/view/BuddyMenu.py b/shell/view/BuddyMenu.py
index 6b26295..4ad7857 100644
--- a/shell/view/BuddyMenu.py
+++ b/shell/view/BuddyMenu.py
@@ -53,15 +53,12 @@ class BuddyMenu(Menu):
friends = shell_model.get_friends()
if friends.has_buddy(self._buddy):
- icon = IconItem(icon_name='stock-remove-friend')
+ icon = IconItem(icon_name='stock-add')
self.add_action(icon, BuddyMenu.ACTION_REMOVE_FRIEND)
else:
- icon = IconItem(icon_name='stock-make-friend')
+ icon = IconItem(icon_name='stock-remove')
self.add_action(icon, BuddyMenu.ACTION_MAKE_FRIEND)
- icon = IconItem(icon_name='stock-chat')
- self.add_action(icon, -1)
-
activity_id = shell_model.get_current_activity()
if activity_id != None:
activity_ps = pservice.get_activity(activity_id)