Disable sharing for trial1

This commit is contained in:
Dan Williams 2007-03-16 10:00:16 -04:00
parent 7beb2b24ac
commit 64a67e28f6

View File

@ -31,10 +31,11 @@ class ActivityMenu(Menu):
def __init__(self, activity_model): def __init__(self, activity_model):
Menu.__init__(self, activity_model.get_title()) Menu.__init__(self, activity_model.get_title())
if not activity_model.get_shared(): # FIXME: re-enable after trial1
self.add_item(MenuItem(ActivityMenu.ACTION_SHARE, # if not activity_model.get_shared():
_('Share'), # self.add_item(MenuItem(ActivityMenu.ACTION_SHARE,
'theme:stock-share-mesh')) # _('Share'),
# 'theme:stock-share-mesh'))
self.add_item(MenuItem(ActivityMenu.ACTION_CLOSE, self.add_item(MenuItem(ActivityMenu.ACTION_CLOSE,
_('Close'), _('Close'),