@ -994,9 +994,9 @@ class Invoker(GObject.GObject):
# menu item. We need to postpone destruction of the palette until
# after all signals have propagated from the menu item to the
# palette owner.
GObject.idle_add(lambda old_palette=self._palette:
old_palette.destroy(),
priority=GObject.PRIORITY_LOW)
GLib.idle_add(lambda old_palette=self._palette:
self._palette = palette