From 5ba731c9ba3fa29a1b7c10f01c9d63519c7ebd47 Mon Sep 17 00:00:00 2001 From: Fran Rogers Date: Tue, 12 Oct 2010 17:56:17 +0000 Subject: Remove Share button from toolbar (#582) --- 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() -- cgit v0.9.1