Opened 14 years ago

Closed 14 years ago

#1493 closed patch (Invalid)

[PATCH] GTKUI: add "Downloaded" and "Uploaded" colums to torrent view

Reported by: alderz Owned by:
Priority: major Milestone: Future
Component: GTK UI Version: other (please specify)
Keywords: Cc:

Description

[PATCH] GTKUI: add "Downloaded" and "Uploaded" colums to torrent view

---

deluge/ui/gtkui/torrentview.py | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/deluge/ui/gtkui/torrentview.py b/deluge/ui/gtkui/torrentview.py index 52590af..a12d474 100644 --- a/deluge/ui/gtkui/torrentview.py +++ b/deluge/ui/gtkui/torrentview.py @@ -211,6 +211,12 @@ def init(self):

self.add_func_column(_("Size"), listview.cell_data_size,

[gobject.TYPE_UINT64], status_field=total_wanted)

+ self.add_func_column(_("Downloaded"), listview.cell_data_size, + [gobject.TYPE_UINT64], + status_field=all_time_download) + self.add_func_column(_("Uploaded"), listview.cell_data_size, + [gobject.TYPE_UINT64], + status_field=all_time_uploaded)

self.add_progress_column(_("Progress"),

status_field=["progress", "state"], col_types=[float, str],

-- 1.7.3.5

Attachments (1)

patch (959 bytes ) - added by alderz 14 years ago.
patch

Download all attachments as: .zip

Change History (2)

by alderz, 14 years ago

Attachment: patch added

patch

comment:1 by alderz, 14 years ago

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.