add avail column
This commit is contained in:
parent
c454ea05fe
commit
fb20bcd1a2
@ -116,7 +116,10 @@ class TorrentView(listview.ListView):
|
|||||||
listview.cell_data_ratio,
|
listview.cell_data_ratio,
|
||||||
[float],
|
[float],
|
||||||
status_field=["ratio"])
|
status_field=["ratio"])
|
||||||
|
self.add_func_column(_("Avail"),
|
||||||
|
listview.cell_data_ratio,
|
||||||
|
[float],
|
||||||
|
status_field=["distributed_copies"])
|
||||||
|
|
||||||
### Connect Signals ###
|
### Connect Signals ###
|
||||||
# Connect to the 'button-press-event' to know when to bring up the
|
# Connect to the 'button-press-event' to know when to bring up the
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user