Fixed typo.
This commit is contained in:
parent
eff6c1a7c1
commit
54c8c009ef
@ -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