From 0ea6ad066948afa75acece2883f46c719f5951d0 Mon Sep 17 00:00:00 2001 From: Ryan Hitchman Date: Sun, 2 Nov 2014 00:42:35 -0700 Subject: [PATCH] [GTKUI] files_tab: sort by name by default --- deluge/ui/gtkui/files_tab.py | 1 + 1 file changed, 1 insertion(+) diff --git a/deluge/ui/gtkui/files_tab.py b/deluge/ui/gtkui/files_tab.py index bd3a80282..fca1bebf9 100644 --- a/deluge/ui/gtkui/files_tab.py +++ b/deluge/ui/gtkui/files_tab.py @@ -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