diff options
author | Benjamin Berg <benjamin@sipsolutions.net> | 2007-08-10 21:21:36 (GMT) |
---|---|---|
committer | Benjamin Berg <benjamin@sipsolutions.net> | 2007-08-10 21:21:36 (GMT) |
commit | 91d7dbcb0896544b4cf8098373de72c887bb9e31 (patch) | |
tree | 5ee0c5796f0fa630ff61132621884a1a51fdd557 /sugar/graphics | |
parent | 476189323d1bde66b73928273c3c3cee35992493 (diff) |
Ignore grab_notify in the palette menu so that eg. scales work.
Diffstat (limited to 'sugar/graphics')
-rw-r--r-- | sugar/graphics/palette.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sugar/graphics/palette.py b/sugar/graphics/palette.py index b251ca7..bcc3211 100644 --- a/sugar/graphics/palette.py +++ b/sugar/graphics/palette.py @@ -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() |