Display 'total_wanted' instead of 'total_size' in Size column

This commit is contained in:
Andrew Resch 2008-07-22 06:44:28 +00:00
parent 4440ecfdaa
commit f42f93d034

View File

@ -130,7 +130,7 @@ class TorrentView(listview.ListView, component.Component):
self.add_func_column(_("Size"),
listview.cell_data_size,
[gobject.TYPE_UINT64],
status_field=["total_size"])
status_field=["total_wanted"])
self.add_progress_column(_("Progress"),
status_field=["progress", "state"],
col_types=[float, str],