Update some icon names
This commit is contained in:
parent
fa31b7c0bd
commit
4975e94a84
@ -53,15 +53,12 @@ class BuddyMenu(Menu):
|
|||||||
|
|
||||||
friends = shell_model.get_friends()
|
friends = shell_model.get_friends()
|
||||||
if friends.has_buddy(self._buddy):
|
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)
|
self.add_action(icon, BuddyMenu.ACTION_REMOVE_FRIEND)
|
||||||
else:
|
else:
|
||||||
icon = IconItem(icon_name='stock-make-friend')
|
icon = IconItem(icon_name='stock-remove')
|
||||||
self.add_action(icon, BuddyMenu.ACTION_MAKE_FRIEND)
|
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()
|
activity_id = shell_model.get_current_activity()
|
||||||
if activity_id != None:
|
if activity_id != None:
|
||||||
activity_ps = pservice.get_activity(activity_id)
|
activity_ps = pservice.get_activity(activity_id)
|
||||||
|
@ -15,10 +15,10 @@ class ActivityMenu(Menu):
|
|||||||
title = activity_host.get_title()
|
title = activity_host.get_title()
|
||||||
Menu.__init__(self, grid, 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)
|
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)
|
self.add_action(icon, ActivityMenu.ACTION_CLOSE)
|
||||||
|
|
||||||
class ActivityIcon(MenuIcon):
|
class ActivityIcon(MenuIcon):
|
||||||
|
Loading…
Reference in New Issue
Block a user