From 8ae0e15b001329be14633cda30c749cfb582049e Mon Sep 17 00:00:00 2001 From: hordepfo Date: Wed, 22 Jan 2014 01:27:26 +0000 Subject: [PATCH] Search button was clearing the search entry preemptively --- usr/lib/linuxmint/mintMenu/plugins/applications.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr/lib/linuxmint/mintMenu/plugins/applications.py b/usr/lib/linuxmint/mintMenu/plugins/applications.py index 3d36e85..fa0c961 100755 --- a/usr/lib/linuxmint/mintMenu/plugins/applications.py +++ b/usr/lib/linuxmint/mintMenu/plugins/applications.py @@ -1114,14 +1114,14 @@ class pluginclass( object ): menu.show_all() - gtk.gtk_menu_popup(hash(menu), None, None, None, None, 3, 0) + gtk.gtk_menu_popup(hash(menu), None, None, None, None, event.button, event.time) #menu.attach_to_widget(self.searchButton, None) #menu.reposition() #menu.reposition() #self.mintMenuWin.grab() menu.connect( 'deactivate', self.onMenuPopupDeactivate) - self.focusSearchEntry() + #self.focusSearchEntry() return True def pos_func(self, menu=None):