mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 19:44:52 +00:00
Removed unused code from interface.build_torrent_table().
This commit is contained in:
parent
37825effa1
commit
0016c39656
1 changed files with 0 additions and 6 deletions
|
@ -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))
|
||||
|
@ -467,7 +462,6 @@ class DelugeGTK:
|
|||
else:
|
||||
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,
|
||||
|
|
Loading…
Add table
Reference in a new issue