Module: deluge
Branch: master
Commit: 79869faa536f7ee8c3b9d22619ba69f87c55571f
Author: alderz <>
Date: Fri Feb 4 23:39:25 2011 +0000
#1494 - Add Downloaded and Uploaded columns 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 2fb1e04..4f71a8a 100644
--- a/deluge/ui/gtkui/torrentview.py
+++ b/deluge/ui/gtkui/torrentview.py
@@ -211,6 +211,12 @@ class TorrentView(listview.ListView, component.Component):
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=["total_uploaded"])
self.add_progress_column(_("Progress"),
status_field=["progress", "state"],
col_types=[float, str],
--
You received this message because you are subscribed to the Google Groups
"deluge-commit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/deluge-commit?hl=en.