Have the torrent view sort by Queue order by default.

This commit is contained in:
Andrew Resch 2007-06-15 08:48:40 +00:00
parent 8390e3977e
commit cdf34e92e9
1 changed files with 4 additions and 0 deletions

View File

@ -332,8 +332,12 @@ class DelugeGTK:
else:
return 0
self.torrent_model.set_sort_func(1, long_sort, 1)
self.torrent_model.set_sort_func(3, long_sort, 3)
self.torrent_model.set_sort_func(12, long_sort, 12)
self.torrent_model.set_sort_column_id(1, gtk.SORT_ASCENDING)
try:
self.torrent_view.get_selection().set_select_function(self.torrent_clicked, full=True)
except TypeError: