Fixed focus and space problems in search entry
This commit is contained in:
parent
cef9eec7cd
commit
9fee409db4
7
debian/changelog
vendored
7
debian/changelog
vendored
@ -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
|
mintmenu (5.0.1) julia; urgency=low
|
||||||
|
|
||||||
* Added search engines to mintMenu
|
* Added search engines to mintMenu
|
||||||
|
@ -962,6 +962,7 @@ class pluginclass( object ):
|
|||||||
#menu.attach_to_widget(self.searchButton, None)
|
#menu.attach_to_widget(self.searchButton, None)
|
||||||
#menu.reposition()
|
#menu.reposition()
|
||||||
#menu.reposition()
|
#menu.reposition()
|
||||||
|
self.focusSearchEntry()
|
||||||
|
|
||||||
def pos_func(self, menu=None):
|
def pos_func(self, menu=None):
|
||||||
rect = self.searchButton.get_allocation()
|
rect = self.searchButton.get_allocation()
|
||||||
@ -1176,8 +1177,7 @@ class pluginclass( object ):
|
|||||||
if text != "":
|
if text != "":
|
||||||
self.mintMenuWin.hide()
|
self.mintMenuWin.hide()
|
||||||
fullstring = self.searchtool.replace( "%s", text )
|
fullstring = self.searchtool.replace( "%s", text )
|
||||||
newstring = fullstring.split()
|
os.system(fullstring + " &")
|
||||||
Execute( newstring )
|
|
||||||
|
|
||||||
def SearchWithButton( self, widget, event ):
|
def SearchWithButton( self, widget, event ):
|
||||||
self.Search( widget )
|
self.Search( widget )
|
||||||
|
Loading…
Reference in New Issue
Block a user