[poky] [PATCH 2/4] bitbake/goggle: closing the progress dialog kills the UI
Joshua Lock
josh at linux.intel.com
Tue Jan 11 06:33:53 PST 2011
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 at linux.intel.com>
---
bitbake/lib/bb/ui/goggle.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/bitbake/lib/bb/ui/goggle.py b/bitbake/lib/bb/ui/goggle.py
index 3c6a014..1905c0c 100644
--- a/bitbake/lib/bb/ui/goggle.py
+++ b/bitbake/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 ()
--
1.7.3.4
More information about the poky
mailing list