From bb5a3fcca36db5dcab8a9ca8c8e6aaf85f82f702 Mon Sep 17 00:00:00 2001 From: Gary Burton Date: Wed, 9 Apr 2008 20:44:33 +0000 Subject: [PATCH] Make selector tree view take initial focus bug #2014 svn: r10533 --- src/Selectors/_BaseSelector.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Selectors/_BaseSelector.py b/src/Selectors/_BaseSelector.py index 2e77efe9a..dc5a038ae 100644 --- a/src/Selectors/_BaseSelector.py +++ b/src/Selectors/_BaseSelector.py @@ -76,6 +76,7 @@ class BaseSelector(ManagedWindow.ManagedWindow): self.tree.set_headers_visible(True) self.tree.set_headers_clickable(True) self.tree.connect('row-activated', self._on_row_activated) + self.tree.grab_focus() self.colinfo = self.column_view_names() #add the search bar