Now detects errors when running a program, and shows a window that allows to copy to clipboard the debugging data

Now hides the main window when creating the disc, and shows it again at the end
This commit is contained in:
Sergio Costas 2014-07-26 23:51:17 +02:00
parent 8de307fd73
commit 70fadeef22
5 changed files with 225 additions and 10 deletions

View file

@ -177,7 +177,6 @@ class devede_project:
ask = devede.ask.ask_window()
if (ask.run(_("Abort the current DVD and exit?"),_("Exit DeVeDe"))):
print(self.config.get_log())
Gtk.main_quit()
return True
@ -276,4 +275,10 @@ class devede_project:
p = movie.do_conversion(os.path.join(movie_folder,"movie_"+str(counter)+".mpg"))
run_window.add_process(p)
counter += 1
run_window.run()
run_window.connect("done",self.disc_done)
self.wmain_window.hide()
run_window.run()
def disc_done(self,object,value):
self.wmain_window.show()