Open main menu
Home
Random
Log in
Settings
About Sugar Labs
Disclaimers
Sugar Labs
Search
Changes
← Older edit
Newer edit →
Development Team/Almanac/Code Snippets
(view source)
Revision as of 22:00, 21 February 2008
3 bytes removed
,
22:00, 21 February 2008
m
Bug, gtk.Toolbar takes 0 arguments
Line 51:
Line 51:
class MyActivity(activity.Activity):
class MyActivity(activity.Activity):
...
...
−
mytoolbox = gtk.Toolbar(
self
)
+
mytoolbox = gtk.Toolbar()
−
helpbut = ToolButton('help')#Stock help icon
+
helpbut = ToolButton('help') #Stock help icon
helpbut.set_tooltip(_("Get help"))
helpbut.set_tooltip(_("Get help"))
helpbut.connect('clicked', self.help_button_pressed)
helpbut.connect('clicked', self.help_button_pressed)
Garycmartin
2,354
edits