>From 5801cf0fbacde51ec60664efb1dd675a725b0f99 Mon Sep 17 00:00:00 2001
From: Silvia Dobrota <sd3...@doc.ic.ac.uk>
Date: Thu, 17 Feb 2011 17:19:19 +0000
Subject: [PATCH] Focus filter entry on return to main page

---
 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
_______________________________________________
compiz mailing list
compiz@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/compiz

Reply via email to