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 /bitbake | |
parent | c9bb30b232396bbdd3c97c1059e972d6a4abf637 (diff) | |
download | openembedded-core-e21150f2b18ff4ac85e64ed8814f0268007830c0.tar.gz openembedded-core-e21150f2b18ff4ac85e64ed8814f0268007830c0.tar.bz2 openembedded-core-e21150f2b18ff4ac85e64ed8814f0268007830c0.zip |
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>
Diffstat (limited to 'bitbake')
-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): gtk.gdk.threads_enter() dep = DepExplorer() pbar = ProgressBar(dep) + pbar.connect("delete-event", gtk.main_quit) gtk.gdk.threads_leave() progress_total = 0 |