From 102463acb311e844d0bfb3e8208e60f37f7f1add Mon Sep 17 00:00:00 2001 From: Chris Jones Date: Thu, 4 Feb 2010 01:00:35 +0000 Subject: [PATCH] Skip widget pixbuf generation for older gtks, not newer ones --- terminatorlib/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terminatorlib/util.py b/terminatorlib/util.py index 4e781591..034c05f5 100755 --- a/terminatorlib/util.py +++ b/terminatorlib/util.py @@ -130,7 +130,7 @@ def shell_lookup(): def widget_pixbuf(widget, maxsize=None): """Generate a pixbuf of a widget""" - if gtk.gtk_version > (2, 14): + if gtk.gtk_version < (2, 14): return(None) pixmap = widget.get_snapshot()