Fix GtkMenu palette positioning in Gtk 3.16
This commit is contained in:
parent
9087eab839
commit
78dcd5a7e4
@ -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):
|
||||||
|
Loading…
Reference in New Issue
Block a user