diff --git a/debian/changelog b/debian/changelog index 4d89ce4..c9fa12b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +mintmenu (4.8.8) helena; urgency=low + + * Reinstated calls to mouse grabs (needed to hide the menu when desktop is clicked) and added a call to hide_window (found in USP) + + -- Clement Lefebvre Thu, 19 Nov 2009 09:44:00 +0000 + mintmenu (4.8.7) helena; urgency=low * Replaced xdg with gmenu (Fixes broken Games category) diff --git a/usr/lib/linuxmint/mintMenu/mintMenu.py b/usr/lib/linuxmint/mintMenu/mintMenu.py index e7127ab..b8015d7 100755 --- a/usr/lib/linuxmint/mintMenu/mintMenu.py +++ b/usr/lib/linuxmint/mintMenu/mintMenu.py @@ -484,13 +484,14 @@ class MainWindow( object ): self.plugins["applications"].focusSearchEntry() def grab( self ): - #gtk.gdk.pointer_grab( self.window.window, True, gtk.gdk.BUTTON_PRESS_MASK ) + gtk.gdk.pointer_grab( self.window.window, True, gtk.gdk.BUTTON_PRESS_MASK ) gtk.gdk.keyboard_grab( self.window.window, False ) self.window.grab_add() def ungrab( self ): self.window.grab_remove() - #gtk.gdk.pointer_ungrab() + self.window.hide() + gtk.gdk.pointer_ungrab() gtk.gdk.keyboard_ungrab() def onMap( self, widget, event ):