From f266c2523ccaba26af521a2da562181f23f8b0dd Mon Sep 17 00:00:00 2001 From: Benny Malengier Date: Fri, 27 Feb 2009 17:55:29 +0000 Subject: [PATCH] 2745: PlaceView crash on old pygtk svn: r12148 --- src/DataViews/PlaceView.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/DataViews/PlaceView.py b/src/DataViews/PlaceView.py index 294ac085b..871147d7b 100644 --- a/src/DataViews/PlaceView.py +++ b/src/DataViews/PlaceView.py @@ -171,7 +171,8 @@ class PlaceView(PageView.ListView): for widget in widgets : if isinstance(widget, gtk.MenuToolButton): widget.set_menu(mmenu) - widget.set_arrow_tooltip_text(actionservices.arrowtooltip) + if gtk.pygtk_version >= (2, 12, 0): + widget.set_arrow_tooltip_text(actionservices.arrowtooltip) hbox=gtk.HBox() img = gtk.Image() img.set_from_stock(gtk.STOCK_JUMP_TO,