Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
This commit is contained in:
commit
2ad2b11d6c
@ -23,8 +23,8 @@ class ToggleToolButton(gtk.ToggleToolButton):
|
||||
def __init__(self, named_icon=None):
|
||||
gtk.ToggleToolButton.__init__(self)
|
||||
self.set_named_icon(named_icon)
|
||||
|
||||
def set_named_icon(self, named_icon)
|
||||
|
||||
def set_named_icon(self, named_icon):
|
||||
icon = Icon(named_icon)
|
||||
self.set_icon_widget(icon)
|
||||
icon.show()
|
||||
|
Loading…
Reference in New Issue
Block a user