Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar

This commit is contained in:
Marco Pesenti Gritti 2007-05-04 18:29:57 +02:00
commit 2ad2b11d6c

View File

@ -23,8 +23,8 @@ class ToggleToolButton(gtk.ToggleToolButton):
def __init__(self, named_icon=None): def __init__(self, named_icon=None):
gtk.ToggleToolButton.__init__(self) gtk.ToggleToolButton.__init__(self)
self.set_named_icon(named_icon) self.set_named_icon(named_icon)
def set_named_icon(self, named_icon) def set_named_icon(self, named_icon):
icon = Icon(named_icon) icon = Icon(named_icon)
self.set_icon_widget(icon) self.set_icon_widget(icon)
icon.show() icon.show()