mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-07 00:48:41 +00:00
Have the torrent view sort by Queue order by default.
This commit is contained in:
parent
8390e3977e
commit
cdf34e92e9
1 changed files with 4 additions and 0 deletions
|
@ -332,8 +332,12 @@ class DelugeGTK:
|
||||||
else:
|
else:
|
||||||
return 0
|
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(3, long_sort, 3)
|
||||||
self.torrent_model.set_sort_func(12, long_sort, 12)
|
self.torrent_model.set_sort_func(12, long_sort, 12)
|
||||||
|
|
||||||
|
self.torrent_model.set_sort_column_id(1, gtk.SORT_ASCENDING)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
self.torrent_view.get_selection().set_select_function(self.torrent_clicked, full=True)
|
self.torrent_view.get_selection().set_select_function(self.torrent_clicked, full=True)
|
||||||
except TypeError:
|
except TypeError:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue