diff options
author | Fran Rogers <fran@dumetella.net> | 2010-10-12 17:56:17 (GMT) |
---|---|---|
committer | Fran Rogers <fran@dumetella.net> | 2010-10-12 17:56:17 (GMT) |
commit | 5ba731c9ba3fa29a1b7c10f01c9d63519c7ebd47 (patch) | |
tree | f3a95873227a1387b6b4cb692eaee2cc2bf47fd7 | |
parent | 2f1ef288da855e1ba75182ec0202b7f74c08a73b (diff) |
Remove Share button from toolbar (#582)
-rw-r--r-- | ircactivity.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ircactivity.py b/ircactivity.py index 90c8510..29382e4 100644 --- a/ircactivity.py +++ b/ircactivity.py @@ -70,6 +70,11 @@ class IRCActivity(activity.Activity): # TOOLBAR toolbox = activity.ActivityToolbox(self) + + # Remove the Share button, since this activity isn't shareable + toolbar = toolbox.get_activity_toolbar() + toolbar.remove(toolbar.share) + self.set_toolbox(toolbox) self.show_all() |