[PATCH] Focus filter entry on return to main page

Silvia Dobrota sd3209 at doc.ic.ac.uk
Thu Feb 17 09:19:19 PST 2011


---
 ccm/Window.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/ccm/Window.py b/ccm/Window.py
index 9478f34..1b57fcf 100644
--- a/ccm/Window.py
+++ b/ccm/Window.py
@@ -96,6 +96,7 @@ class MainWin(gtk.Window):

     def BackToMain(self, widget):
         self.SetPage(self.MainPage)
+        self.MainPage.filterEntry.grab_focus()

     def RefreshPage(self, updatedPlugin):
         currentPage = self.CurrentPage
-- 
1.7.0.4


More information about the compiz mailing list