Sort filenames alphabetically in add torrent dialog

This commit is contained in:
Andrew Resch 2008-08-23 03:57:37 +00:00
parent 240c60aa74
commit ab9842e4c1
2 changed files with 5 additions and 0 deletions

View file

@ -2,6 +2,9 @@ Deluge 0.9.08 - "1.0.0_RC8" (In Development)
Core:
* Attempt to automatically upgrade a 0.5.x state file to new format
GtkUI:
* Sort filenames alphabetically in add torrent dialog
Deluge 0.9.07 - "1.0.0_RC7" (18 August 2008)
Core:
* Fix loading torrents from state when fastresume file is missing

View file

@ -71,6 +71,8 @@ class AddTorrentDialog(component.Component):
#download?, path, filesize, sequence number, inconsistent?
self.files_treestore = gtk.TreeStore(bool, str, gobject.TYPE_UINT64,
gobject.TYPE_INT64, bool, str)
self.files_treestore.set_sort_column_id(1, gtk.SORT_ASCENDING)
# Holds the files info
self.files = {}
self.infos = {}