Allows to convert files (still incomplete)

This commit is contained in:
Sergio Costas 2014-07-25 21:50:48 +02:00
parent e404f27e45
commit 4f42fb4dbd
8 changed files with 403 additions and 45 deletions

View file

@ -56,7 +56,7 @@ class runner(GObject.GObject):
self.progress_bars.append([f, p, None])
box.pack_start(f,True,True,0)
box.set_orientation(Gtk.Orientation.VERTICAL)
self.total = 0
self.total_processes = 0
def add_processes(self,processes):
for p in processes:
@ -94,7 +94,7 @@ class runner(GObject.GObject):
else:
self.progress_bars = []
break
self.wtotal.set_text(str(len(self.proc_list)-self.total)+"/"+str(self.total))
self.wtotal.set_text(str(self.total_processes - len(self.proc_list))+"/"+str(self.total_processes))
def process_ended(self,process, retval):