Set # column as default sort.

This commit is contained in:
Andrew Resch 2008-03-09 03:07:50 +00:00
parent 8562cad4f5
commit 969b43d069

View File

@ -158,6 +158,9 @@ class TorrentView(listview.ListView, component.Component):
[float], [float],
status_field=["distributed_copies"]) status_field=["distributed_copies"])
# Set default sort column to #
self.liststore.set_sort_column_id(self.get_column_index("#"), gtk.SORT_ASCENDING)
# Set filter to None for now # Set filter to None for now
self.filter = (None, None) self.filter = (None, None)