From 4975e94a8449341145c951f572ce13234f08640c Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Tue, 26 Sep 2006 19:35:58 +0200 Subject: [PATCH] Update some icon names --- shell/view/BuddyMenu.py | 7 ++----- shell/view/frame/TopPanel.py | 4 ++-- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/shell/view/BuddyMenu.py b/shell/view/BuddyMenu.py index 6b262956..4ad7857e 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) diff --git a/shell/view/frame/TopPanel.py b/shell/view/frame/TopPanel.py index 5516bb52..e0aec2ea 100644 --- a/shell/view/frame/TopPanel.py +++ b/shell/view/frame/TopPanel.py @@ -15,10 +15,10 @@ class ActivityMenu(Menu): title = activity_host.get_title() Menu.__init__(self, grid, title) - icon = IconItem(icon_name='stock-share') + icon = IconItem(icon_name='stock-share-mesh') self.add_action(icon, ActivityMenu.ACTION_SHARE) - icon = IconItem(icon_name='stock-close-activity') + icon = IconItem(icon_name='stock-close') self.add_action(icon, ActivityMenu.ACTION_CLOSE) class ActivityIcon(MenuIcon):