Re-enable the Share action in the frame
This commit is contained in:
parent
5970bb6e62
commit
924650750e
@ -31,11 +31,10 @@ class ActivityMenu(Menu):
|
||||
def __init__(self, activity_model):
|
||||
Menu.__init__(self, activity_model.get_title())
|
||||
|
||||
# FIXME: re-enable after trial1
|
||||
# if not activity_model.get_shared():
|
||||
# self.add_item(MenuItem(ActivityMenu.ACTION_SHARE,
|
||||
# _('Share'),
|
||||
# 'theme:stock-share-mesh'))
|
||||
if not activity_model.get_shared():
|
||||
self.add_item(MenuItem(ActivityMenu.ACTION_SHARE,
|
||||
_('Share'),
|
||||
'theme:stock-share-mesh'))
|
||||
|
||||
self.add_item(MenuItem(ActivityMenu.ACTION_CLOSE,
|
||||
_('Close'),
|
||||
|
Loading…
Reference in New Issue
Block a user