[GTKUI] files_tab: sort by name by default

This commit is contained in:
Ryan Hitchman 2014-11-02 00:42:35 -07:00 committed by Calum Lind
parent cdeb3c211b
commit 0ea6ad0669
1 changed files with 1 additions and 0 deletions

View File

@ -96,6 +96,7 @@ class FilesTab(Tab):
self.listview = builder.get_object("files_listview")
# filename, size, progress string, progress value, priority, file index, icon id
self.treestore = gtk.TreeStore(str, gobject.TYPE_UINT64, str, float, int, int, str)
self.treestore.set_sort_column_id(0, gtk.SORT_ASCENDING)
# We need to store the row that's being edited to prevent updating it until
# it's been done editing