diff --git a/usr/lib/linuxmint/mintMenu/plugins/applications.py b/usr/lib/linuxmint/mintMenu/plugins/applications.py index 4628fd7..ae5db47 100755 --- a/usr/lib/linuxmint/mintMenu/plugins/applications.py +++ b/usr/lib/linuxmint/mintMenu/plugins/applications.py @@ -949,7 +949,8 @@ class pluginclass( object ): mTree.show_all() gtk.gtk_menu_popup(hash(mTree), None, None, None, None, ev.button, ev.time) - self.mintMenuWin.grab() + #self.mintMenuWin.grab() + mTree.connect( 'deactivate', self.onMenuPopupDeactivate) else: mTree = Gtk.Menu() @@ -969,7 +970,8 @@ class pluginclass( object ): insertSpaceMenuItem.connect( "activate", self.onFavoritesInsertSpace, widget, insertBefore ) insertSeparatorMenuItem.connect( "activate", self.onFavoritesInsertSeparator, widget, insertBefore ) gtk.gtk_menu_popup(hash(mTree), None, None, None, None, ev.button, ev.time) - self.mintMenuWin.grab() + #self.mintMenuWin.grab() + mTree.connect( 'deactivate', self.onMenuPopupDeactivate) def menuPopup( self, widget, event ): if event.button == 3: