mirror of
https://git.deluge-torrent.org/deluge
synced 2025-09-18 15:51:57 +00:00
[GTKUI] files_tab: sort by name by default
This commit is contained in:
parent
cdeb3c211b
commit
0ea6ad0669
1 changed files with 1 additions and 0 deletions
|
@ -96,6 +96,7 @@ class FilesTab(Tab):
|
||||||
self.listview = builder.get_object("files_listview")
|
self.listview = builder.get_object("files_listview")
|
||||||
# filename, size, progress string, progress value, priority, file index, icon id
|
# 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 = 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
|
# We need to store the row that's being edited to prevent updating it until
|
||||||
# it's been done editing
|
# it's been done editing
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue