Update some icon names

This commit is contained in:
Marco Pesenti Gritti 2006-09-26 19:35:58 +02:00
parent fa31b7c0bd
commit 4975e94a84
2 changed files with 4 additions and 7 deletions

View File

@ -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)

View File

@ -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):