mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 19:44:52 +00:00
remove progress lines from interfaces.py since it's already out of glade file
This commit is contained in:
parent
1d4b1eea2b
commit
0c774012d8
1 changed files with 1 additions and 7 deletions
|
@ -352,14 +352,8 @@ class DelugeGTK:
|
|||
assert(len(all_files) == len(file_filter))
|
||||
i=0
|
||||
for f in all_files:
|
||||
if f['progress'] < 10:
|
||||
progress = '00''%.2f%%'%f['progress']
|
||||
elif f['progress'] >= 10 and f['progress'] < 100:
|
||||
progress = '0''%.2f%%'%f['progress']
|
||||
elif f['progress'] == 100:
|
||||
progress = '%.2f%%'%f['progress']
|
||||
self.file_store.append([not file_filter[i], f['path'], common.fsize(f['size']),
|
||||
f['offset'], progress])
|
||||
f['offset'])
|
||||
i=i+1
|
||||
|
||||
return True
|
||||
|
|
Loading…
Add table
Reference in a new issue