diff options
author | Sebastian <icarito@sugarlabs.org> | 2011-03-17 04:10:23 (GMT) |
---|---|---|
committer | Sebastian <icarito@sugarlabs.org> | 2011-03-17 04:10:23 (GMT) |
commit | bf19503d3658fb6f218ad5eba892735122ffe590 (patch) | |
tree | c8666cd863bbc86ac8cd65ce8295a3e89ba88cfc | |
parent | abf3c7fea7f2305090eb9dfcdd3600365195923b (diff) |
-rwxr-xr-x | helpactivity.py | 4 | ||||
-rw-r--r-- | mybutton.py | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/helpactivity.py b/helpactivity.py index 4e1d3a6..4bb3a82 100755 --- a/helpactivity.py +++ b/helpactivity.py @@ -87,6 +87,10 @@ class HelpActivity(activity.Activity): navtoolbar._forward.show() toolitem.show() + # we do not have collaboration features + # make the share option insensitive + self.max_participants = 1 + separator = gtk.SeparatorToolItem() separator.props.draw = False separator.set_expand(True) diff --git a/mybutton.py b/mybutton.py index e5c461b..b1f1f84 100644 --- a/mybutton.py +++ b/mybutton.py @@ -42,7 +42,6 @@ class MyActivityToolbarButton(ToolbarButton): def __init__(self, activity, **kwargs): toolbar = ActivityToolbar(activity, orientation_left=True) - toolbar.share.hide() toolbar.stop.hide() toolbar.keep.hide() toolbar.title.unset_flags(gtk.CAN_FOCUS) |