Run print dialog in the background.

svn: r1935
This commit is contained in:
Tim Waugh 2003-07-27 20:38:38 +00:00
parent 1755b3fadc
commit 2edc3770aa

View File

@ -291,7 +291,7 @@ class GraphVizDialog(Report.ReportDialog):
if self.print_report.get_active (): if self.print_report.get_active ():
os.environ["DOT"] = self.target_path os.environ["DOT"] = self.target_path
os.system ('dot -Tps "$DOT" | %s' % os.system ('dot -Tps "$DOT" | %s &' %
self.get_print_dialog_app ()) self.get_print_dialog_app ())
#------------------------------------------------------------------------ #------------------------------------------------------------------------