From 92e37fd9048ae5a89a65eec1915e588108125d3c Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Tue, 26 Sep 2006 17:49:41 +0000 Subject: Fix add and remove friends --- (limited to 'shell/view/BuddyMenu.py') diff --git a/shell/view/BuddyMenu.py b/shell/view/BuddyMenu.py index 4ad7857..cf6c2f2 100644 --- a/shell/view/BuddyMenu.py +++ b/shell/view/BuddyMenu.py @@ -53,10 +53,10 @@ class BuddyMenu(Menu): friends = shell_model.get_friends() if friends.has_buddy(self._buddy): - icon = IconItem(icon_name='stock-add') + icon = IconItem(icon_name='stock-remove') self.add_action(icon, BuddyMenu.ACTION_REMOVE_FRIEND) else: - icon = IconItem(icon_name='stock-remove') + icon = IconItem(icon_name='stock-add') self.add_action(icon, BuddyMenu.ACTION_MAKE_FRIEND) activity_id = shell_model.get_current_activity() -- cgit v0.9.1