Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ircactivity.py5
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()