From 76b9cd33e0f82c1af85e53997d24bbef5431d788 Mon Sep 17 00:00:00 2001 From: Stephen Boddy Date: Thu, 10 Sep 2015 00:34:12 +0200 Subject: [PATCH] Minor fix for a lingering usage of GTK2 style constant when setting the last resort icon. --- terminatorlib/window.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terminatorlib/window.py b/terminatorlib/window.py index 53c67952..c5dfdfc9 100755 --- a/terminatorlib/window.py +++ b/terminatorlib/window.py @@ -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):