Minor fix for a lingering usage of GTK2 style constant when setting the last resort icon.
This commit is contained in:
parent
e862175ed6
commit
76b9cd33e0
|
@ -188,7 +188,7 @@ class Window(Container, Gtk.Window):
|
|||
else:
|
||||
dbg('Unable to load %s icon' % (icon_name))
|
||||
|
||||
icon = self.render_icon(Gtk.STOCK_DIALOG_INFO, Gtk.ICON_SIZE_BUTTON)
|
||||
icon = self.render_icon(Gtk.STOCK_DIALOG_INFO, Gtk.IconSize.BUTTON)
|
||||
self.set_icon(icon)
|
||||
|
||||
def on_key_press(self, window, event):
|
||||
|
|
Loading…
Reference in New Issue