2745: PlaceView crash on old pygtk
svn: r12148
This commit is contained in:
parent
bf8f65728b
commit
f266c2523c
@ -171,7 +171,8 @@ class PlaceView(PageView.ListView):
|
|||||||
for widget in widgets :
|
for widget in widgets :
|
||||||
if isinstance(widget, gtk.MenuToolButton):
|
if isinstance(widget, gtk.MenuToolButton):
|
||||||
widget.set_menu(mmenu)
|
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()
|
hbox=gtk.HBox()
|
||||||
img = gtk.Image()
|
img = gtk.Image()
|
||||||
img.set_from_stock(gtk.STOCK_JUMP_TO,
|
img.set_from_stock(gtk.STOCK_JUMP_TO,
|
||||||
|
Loading…
Reference in New Issue
Block a user