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:
parent
749ca68709
commit
c9bb30b232
|
@ -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 ()
|
||||
|
|
Loading…
Reference in New Issue