diff options
author | Joshua Lock <josh@linux.intel.com> | 2011-01-10 14:37:03 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-01-12 11:43:50 +0000 |
commit | c9bb30b232396bbdd3c97c1059e972d6a4abf637 (patch) | |
tree | f5ee3d98abe048a26a7829dff576a15699ace5b3 /bitbake | |
parent | 749ca687091d6ee7f92fce4c385a7ff4bd2636aa (diff) | |
download | poky-c9bb30b232396bbdd3c97c1059e972d6a4abf637.tar.gz |
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>
Diffstat (limited to 'bitbake')
-rw-r--r-- | 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 3c6a014dc2..1905c0c201 100644 --- a/bitbake/lib/bb/ui/goggle.py +++ b/bitbake/lib/bb/ui/goggle.py | |||
@@ -70,6 +70,7 @@ def main (server, eventHandler): | |||
70 | window = MainWindow () | 70 | window = MainWindow () |
71 | window.show_all () | 71 | window.show_all () |
72 | pbar = ProgressBar(window) | 72 | pbar = ProgressBar(window) |
73 | pbar.connect("delete-event", gtk.main_quit) | ||
73 | 74 | ||
74 | # Create the object for the current build | 75 | # Create the object for the current build |
75 | running_build = RunningBuild () | 76 | running_build = RunningBuild () |