diff options
author | Joshua Lock <josh@linux.intel.com> | 2011-01-10 14:45:07 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-01-12 11:43:50 +0000 |
commit | e21150f2b18ff4ac85e64ed8814f0268007830c0 (patch) | |
tree | d922b5c7f5cdfb1087299166a9fdf5700bc8f35d | |
parent | c9bb30b232396bbdd3c97c1059e972d6a4abf637 (diff) | |
download | poky-e21150f2b18ff4ac85e64ed8814f0268007830c0.tar.gz |
bitbake/depexp: closing progress dialog kills gui
It seems safe to assume a user hitting the close button
on the dialog wants to kill the whole UI.
Signed-off-by: Joshua Lock <josh@linux.intel.com>
-rw-r--r-- | bitbake/lib/bb/ui/depexp.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbake/lib/bb/ui/depexp.py b/bitbake/lib/bb/ui/depexp.py index 13bf9ac008..3dbd5e0eca 100644 --- a/bitbake/lib/bb/ui/depexp.py +++ b/bitbake/lib/bb/ui/depexp.py | |||
@@ -218,6 +218,7 @@ def main(server, eventHandler): | |||
218 | gtk.gdk.threads_enter() | 218 | gtk.gdk.threads_enter() |
219 | dep = DepExplorer() | 219 | dep = DepExplorer() |
220 | pbar = ProgressBar(dep) | 220 | pbar = ProgressBar(dep) |
221 | pbar.connect("delete-event", gtk.main_quit) | ||
221 | gtk.gdk.threads_leave() | 222 | gtk.gdk.threads_leave() |
222 | 223 | ||
223 | progress_total = 0 | 224 | progress_total = 0 |