Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/help.py
diff options
context:
space:
mode:
Diffstat (limited to 'help.py')
-rw-r--r--help.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/help.py b/help.py
index 7d45790..b5ae931 100644
--- a/help.py
+++ b/help.py
@@ -1,5 +1,5 @@
""" 'Help' and 'About' information."""
-# Copyright (C) 2012 S. Daniel Francis <francis@sugarlabs.org>
+# Copyright (C) 2012-2013 S. Daniel Francis <francis@sugarlabs.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -41,7 +41,7 @@ class AboutItem(Item):
dialog.set_authors(info.authors)
dialog.set_license(info.license)
dialog.set_wrap_license(True)
- dialog.set_logo_icon_name('graph-plotter')
+ dialog.set_logo_icon_name(info.lower_name)
dialog.run()
dialog.destroy()
@@ -54,9 +54,9 @@ class Help(ItemGroup):
"""Constructor.
box -- sweetener.ItemBox where append it
"""
- title = gtk.stock_lookup(gtk.STOCK_HELP)[1]
+ title = stock.get_label(gtk.STOCK_HELP, False)
ItemGroup.__init__(self, box, title, 'toolbar-help')
- stock.register('sweetener-help-contents', _('Contents'),
+ stock.register('sweetener-help-contents', title,
'F1', 'gtk-help')
contents = Item('sweetener-help-contents')
contents.connect('activate', lambda w: gtk.show_uri(None,