From c32af5ac95dc06e5c03b18f008e22253eedc8436 Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Sat, 23 Aug 2008 03:57:37 +0000 Subject: [PATCH] Sort filenames alphabetically in add torrent dialog --- deluge/ui/gtkui/addtorrentdialog.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/deluge/ui/gtkui/addtorrentdialog.py b/deluge/ui/gtkui/addtorrentdialog.py index bbee9c469..361818722 100644 --- a/deluge/ui/gtkui/addtorrentdialog.py +++ b/deluge/ui/gtkui/addtorrentdialog.py @@ -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 = {}