#1493: [PATCH] GTKUI: add "Downloaded" and "Uploaded" colums to torrent view
--------------------+-------------------------------------------------------
 Reporter:  alderz  |       Owner:                        
     Type:  patch   |      Status:  new                   
 Priority:  major   |   Milestone:  Future                
Component:  gtkui   |     Version:  other (please specify)
 Keywords:          |  
--------------------+-------------------------------------------------------
 [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

-- 
Ticket URL: <http://dev.deluge-torrent.org/ticket/1493>
Deluge <http://deluge-torrent.org/>
Deluge project

-- 
You received this message because you are subscribed to the Google Groups 
"Deluge Dev" 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-dev?hl=en.

Reply via email to