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):
Menu.__init__(self, activity_model.get_title())
if not activity_model.get_shared():
self.add_item(MenuItem(ActivityMenu.ACTION_SHARE,
_('Share'),
'theme:stock-share-mesh'))
# FIXME: re-enable after trial1
# 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'),