Only use fancy gtk popups on newer versions. Closes LP #409069

This commit is contained in:
Chris Jones 2009-10-02 09:43:33 +01:00
parent d986eb29bd
commit d2ccdafaba

View File

@ -1415,7 +1415,10 @@ text/plain
self.populate_grouping_menu (menu)
menu.show_all ()
menu.popup (None, None, self.position_popup_group_menu, button, time, widget)
if gtk.gtk_version > (2, 14, 0):
menu.popup (None, None, self.position_popup_group_menu, button, time, widget)
else:
menu.popup (None, None, None, button, time, widget)
return True