From f14de6553ac4e2af93f03de141124e2ba5303d47 Mon Sep 17 00:00:00 2001 From: Pedro Algarvio Date: Tue, 31 May 2011 15:20:15 +0100 Subject: [PATCH] GTK UI search box grab_focus() on show. --- deluge/ui/gtkui/torrentview.py | 1 + 1 file changed, 1 insertion(+) diff --git a/deluge/ui/gtkui/torrentview.py b/deluge/ui/gtkui/torrentview.py index b687326a1..42e11b590 100644 --- a/deluge/ui/gtkui/torrentview.py +++ b/deluge/ui/gtkui/torrentview.py @@ -201,6 +201,7 @@ class SearchBox(object): def show(self): self.visible = True self.search_box.show_all() + self.search_torrents_entry.grab_focus() def hide(self): self.visible = False