Make selector tree view take initial focus bug #2014

svn: r10533
This commit is contained in:
Gary Burton 2008-04-09 20:44:33 +00:00
parent a5c7549ab6
commit bb5a3fcca3

View File

@ -76,6 +76,7 @@ class BaseSelector(ManagedWindow.ManagedWindow):
self.tree.set_headers_visible(True) self.tree.set_headers_visible(True)
self.tree.set_headers_clickable(True) self.tree.set_headers_clickable(True)
self.tree.connect('row-activated', self._on_row_activated) self.tree.connect('row-activated', self._on_row_activated)
self.tree.grab_focus()
self.colinfo = self.column_view_names() self.colinfo = self.column_view_names()
#add the search bar #add the search bar