From 9fee409db4e9b7adbd48ad1d0d35498484bc272b Mon Sep 17 00:00:00 2001 From: Clement Lefebvre Date: Tue, 7 Sep 2010 18:44:06 +0100 Subject: [PATCH] Fixed focus and space problems in search entry --- debian/changelog | 7 +++++++ usr/lib/linuxmint/mintMenu/plugins/applications.py | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 883934e..6ee7950 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 Tue, 07 Sep 2010 18:28:00 +0000 + mintmenu (5.0.1) julia; urgency=low * Added search engines to mintMenu diff --git a/usr/lib/linuxmint/mintMenu/plugins/applications.py b/usr/lib/linuxmint/mintMenu/plugins/applications.py index 0fd3508..05bc226 100755 --- a/usr/lib/linuxmint/mintMenu/plugins/applications.py +++ b/usr/lib/linuxmint/mintMenu/plugins/applications.py @@ -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 )