Removed unused code from interface.build_torrent_table().
This commit is contained in:
parent
37825effa1
commit
0016c39656
|
@ -441,11 +441,6 @@ class DelugeGTK:
|
|||
self.torrent_view.set_reorderable(True)
|
||||
self.torrent_view.get_selection().set_mode(gtk.SELECTION_MULTIPLE)
|
||||
|
||||
def size(column, cell, model, iter, data):
|
||||
size = long(model.get_value(iter, data))
|
||||
size_str = common.fsize(size)
|
||||
cell.set_property('text', size_str)
|
||||
|
||||
def peer(column, cell, model, iter, data):
|
||||
c1, c2 = data
|
||||
a = int(model.get_value(iter, c1))
|
||||
|
@ -468,7 +463,6 @@ class DelugeGTK:
|
|||
ratio_str = "%.3f"%ratio
|
||||
cell.set_property('text', ratio_str)
|
||||
|
||||
|
||||
## Initializes the columns for the torrent_view
|
||||
(TORRENT_VIEW_COL_UID, TORRENT_VIEW_COL_QUEUE, TORRENT_VIEW_COL_STATUSICON, TORRENT_VIEW_COL_NAME,
|
||||
TORRENT_VIEW_COL_SIZE, TORRENT_VIEW_COL_PROGRESS, TORRENT_VIEW_COL_STATUS,
|
||||
|
|
Loading…
Reference in New Issue