Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCristhofer Travieso <cristhofert97@gmail.com>2012-09-12 22:57:47 (GMT)
committer Cristhofer Travieso <cristhofert97@gmail.com>2012-09-12 22:57:47 (GMT)
commite0097662db63fe2b4763a15dce1689756a51154f (patch)
treea655302fe4b2df541a20b816f824cf179f46f037
parent1d024edb1e5ead8e46b34633fa9922ffa51ed3a3 (diff)
Start the help
-rw-r--r--activity.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/activity.py b/activity.py
index 0cef29d..e0063fc 100644
--- a/activity.py
+++ b/activity.py
@@ -104,6 +104,7 @@ class Activity(activity.Activity):
help_btn = ToolButton()
help_btn.set_tooltip(_('Help'))
help_btn.props.icon_name = 'help-icon'
+ help_btn.connect('clicked', self.help_cb)
toolbarbox.toolbar.insert(help_btn, -1)
separator = Gtk.SeparatorToolItem()
@@ -119,6 +120,10 @@ class Activity(activity.Activity):
self.set_toolbar_box(toolbarbox)
self.show_all()
+ def help_cb(self, widget):
+ h = ScoreHelp('help-icon', 'Help')
+ h.show_all()
+
def _setup_presence_service(self):
"""Setup the Presence Service."""
self.pservice = presenceservice.get_instance()