Fixed focus and space problems in search entry

This commit is contained in:
Clement Lefebvre 2010-09-07 18:44:06 +01:00
parent cef9eec7cd
commit 9fee409db4
2 changed files with 9 additions and 2 deletions

7
debian/changelog vendored
View File

@ -1,3 +1,10 @@
mintmenu (5.0.2) julia; urgency=low
* Fixed space chars in computer search
* Fixed focus problems with search entry and search menu
-- Clement Lefebvre <root@linuxmint.com> Tue, 07 Sep 2010 18:28:00 +0000
mintmenu (5.0.1) julia; urgency=low
* Added search engines to mintMenu

View File

@ -962,6 +962,7 @@ class pluginclass( object ):
#menu.attach_to_widget(self.searchButton, None)
#menu.reposition()
#menu.reposition()
self.focusSearchEntry()
def pos_func(self, menu=None):
rect = self.searchButton.get_allocation()
@ -1176,8 +1177,7 @@ class pluginclass( object ):
if text != "":
self.mintMenuWin.hide()
fullstring = self.searchtool.replace( "%s", text )
newstring = fullstring.split()
Execute( newstring )
os.system(fullstring + " &")
def SearchWithButton( self, widget, event ):
self.Search( widget )