GTK UI search box grab_focus() on show.

This commit is contained in:
Pedro Algarvio 2011-05-31 15:20:15 +01:00
parent b521b3065b
commit f14de6553a
1 changed files with 1 additions and 0 deletions

View File

@ -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