diff options
Diffstat (limited to 'help.py')
-rw-r--r-- | help.py | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,7 +1,7 @@ -# -*- coding: utf-8 -*- +# Copyright (C) 2012-2013 S. Daniel Francis <francis@sugarlabs.org> # -# Copyright (C) 2012 S. Daniel Francis <francis@sugarlabs.org> # Based on helpbutton by Gonzalo Odiard <gonzalo@laptop.org> +# Copyright (C) 2012, Gonzalo Odiard # # 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 @@ -33,7 +33,7 @@ import helpcontent class Help(SettingsItem): def __init__(self, box): - title = gtk.stock_lookup(gtk.STOCK_HELP)[1] + title = stock.get_label(gtk.STOCK_HELP, False) stock.register('sweetener-help-contents', title, '<Ctrl>H', 'toolbar-help') SettingsItem.__init__(self, None, 'sweetener-help-contents') |