Reinstated calls to grab(), needed to hide menu when desktop is clicked
This commit is contained in:
parent
aaef795ec5
commit
506df64cdf
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -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 <root@linuxmint.com> Thu, 19 Nov 2009 09:44:00 +0000
|
||||||
|
|
||||||
mintmenu (4.8.7) helena; urgency=low
|
mintmenu (4.8.7) helena; urgency=low
|
||||||
|
|
||||||
* Replaced xdg with gmenu (Fixes broken Games category)
|
* Replaced xdg with gmenu (Fixes broken Games category)
|
||||||
|
@ -484,13 +484,14 @@ class MainWindow( object ):
|
|||||||
self.plugins["applications"].focusSearchEntry()
|
self.plugins["applications"].focusSearchEntry()
|
||||||
|
|
||||||
def grab( self ):
|
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 )
|
gtk.gdk.keyboard_grab( self.window.window, False )
|
||||||
self.window.grab_add()
|
self.window.grab_add()
|
||||||
|
|
||||||
def ungrab( self ):
|
def ungrab( self ):
|
||||||
self.window.grab_remove()
|
self.window.grab_remove()
|
||||||
#gtk.gdk.pointer_ungrab()
|
self.window.hide()
|
||||||
|
gtk.gdk.pointer_ungrab()
|
||||||
gtk.gdk.keyboard_ungrab()
|
gtk.gdk.keyboard_ungrab()
|
||||||
|
|
||||||
def onMap( self, widget, event ):
|
def onMap( self, widget, event ):
|
||||||
|
Loading…
Reference in New Issue
Block a user