Added progressbar support in few places

This commit is contained in:
Paweł Jastrzębski
2013-10-20 11:02:53 +02:00
parent e37e7566e2
commit 3addc4563a
2 changed files with 14 additions and 3 deletions
+8
View File
@@ -875,7 +875,15 @@ def main(argv=None, qtGUI=None):
tomes = [path]
filepath = []
tomeNumber = 0
if GUI:
if options.cbzoutput:
GUI.emit(QtCore.SIGNAL("progressBarTick"), 'status', 'Compressing CBZ files')
else:
GUI.emit(QtCore.SIGNAL("progressBarTick"), 'status', 'Compressing EPUB files')
GUI.emit(QtCore.SIGNAL("progressBarTick"), len(tomes))
for tome in tomes:
if GUI:
GUI.emit(QtCore.SIGNAL("progressBarTick"))
if os.path.isdir(args[0]):
barePath = os.path.basename(args[0])
else: