Fix GtkMenu palette positioning in Gtk 3.16

This commit is contained in:
Sam Parkinson 2015-05-17 18:22:19 +10:00 committed by Gonzalo Odiard
parent 9087eab839
commit 78dcd5a7e4

View File

@ -113,7 +113,7 @@ class _PaletteMenuWidget(Gtk.Menu):
def set_invoker(self, invoker): def set_invoker(self, invoker):
pass pass
def _position(self, widget, data): def _position(self, widget, *data):
return self._popup_position[0], self._popup_position[1], False return self._popup_position[0], self._popup_position[1], False
def popup(self, invoker): def popup(self, invoker):