Add 'Owner' and 'Public' columns to the TorrentView

This commit is contained in:
Andrew Resch 2010-08-21 12:28:26 -07:00
parent 33fd852bda
commit f0fe3c7879

View File

@ -233,8 +233,9 @@ class TorrentView(listview.ListView, component.Component):
self.add_texticon_column(_("Tracker"),
status_field=["tracker_host", "tracker_host"],
function=cell_data_trackericon)
self.add_text_column(_("Save Path"), status_field=["save_path"])
self.add_text_column(_("Owner"), status_field=["owner"])
self.add_bool_column(_("Public"), status_field=["public"])
# Set filter to None for now
self.filter = None