From 8a56794cd1620573f28cc020d52d769498d4441d Mon Sep 17 00:00:00 2001 From: Joshua Lock Date: Mon, 10 Jan 2011 14:37:03 +0000 Subject: 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. (From Poky rev: c9bb30b232396bbdd3c97c1059e972d6a4abf637) Signed-off-by: Joshua Lock Signed-off-by: Richard Purdie --- lib/bb/ui/goggle.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/bb/ui/goggle.py b/lib/bb/ui/goggle.py index 86ab2f473..bd03d3198 100644 --- a/lib/bb/ui/goggle.py +++ b/lib/bb/ui/goggle.py @@ -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 () -- cgit 1.2.3-korg