Ignore grab_notify in the palette menu so that eg. scales work.

This commit is contained in:
Benjamin Berg 2007-08-10 23:21:36 +02:00
parent 476189323d
commit 91d7dbcb08

View File

@ -482,6 +482,10 @@ class _Menu(_sugaruiext.Menu):
# around everything.
gtk.MenuShell.do_expose_event(self, event)
def do_grab_notify(self, was_grabbed):
# Ignore grab_notify as the menu would close otherwise
pass
def do_deactivate(self):
self._palette._hide()