Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar
diff options
context:
space:
mode:
Diffstat (limited to 'sugar')
-rw-r--r--sugar/graphics/palette.py4
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()