From 0c774012d876a5ee84e4308b2e363e5c65847e69 Mon Sep 17 00:00:00 2001 From: Marcos Pinto Date: Tue, 12 Jun 2007 01:56:46 +0000 Subject: [PATCH] remove progress lines from interfaces.py since it's already out of glade file --- src/interface.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/interface.py b/src/interface.py index 1b0352531..5f3fb1100 100644 --- a/src/interface.py +++ b/src/interface.py @@ -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