From ab9842e4c12d816bc8f66f2856a912b3089fdc86 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 --- ChangeLog | 3 +++ deluge/ui/gtkui/addtorrentdialog.py | 2 ++ 2 files changed, 5 insertions(+) diff --git a/ChangeLog b/ChangeLog index 379cbce7f..8bbc31663 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 diff --git a/deluge/ui/gtkui/addtorrentdialog.py b/deluge/ui/gtkui/addtorrentdialog.py index 4263f75dd..b0f634069 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 = {}