Search button was clearing the search entry preemptively

This commit is contained in:
hordepfo 2014-01-22 01:27:26 +00:00
parent 492a4219c1
commit 8ae0e15b00

View File

@ -1114,14 +1114,14 @@ class pluginclass( object ):
menu.show_all() 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.attach_to_widget(self.searchButton, None)
#menu.reposition() #menu.reposition()
#menu.reposition() #menu.reposition()
#self.mintMenuWin.grab() #self.mintMenuWin.grab()
menu.connect( 'deactivate', self.onMenuPopupDeactivate) menu.connect( 'deactivate', self.onMenuPopupDeactivate)
self.focusSearchEntry() #self.focusSearchEntry()
return True return True
def pos_func(self, menu=None): def pos_func(self, menu=None):