bitbake/goggle: closing the progress dialog kills the UI

It's unlikely that someone wants to close the progress dialog
yet leave the UI (and BitBake process) running, so hook up
the progress dialogs delete-event to exit gtk.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
This commit is contained in:
Joshua Lock 2011-01-10 14:37:03 +00:00 committed by Richard Purdie
parent 749ca68709
commit c9bb30b232
1 changed files with 1 additions and 0 deletions

View File

@ -70,6 +70,7 @@ def main (server, eventHandler):
window = MainWindow ()
window.show_all ()
pbar = ProgressBar(window)
pbar.connect("delete-event", gtk.main_quit)
# Create the object for the current build
running_build = RunningBuild ()