From e21150f2b18ff4ac85e64ed8814f0268007830c0 Mon Sep 17 00:00:00 2001 From: Joshua Lock Date: Mon, 10 Jan 2011 14:45:07 +0000 Subject: 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 --- bitbake/lib/bb/ui/depexp.py | 1 + 1 file changed, 1 insertion(+) (limited to 'bitbake/lib/bb/ui') diff --git a/bitbake/lib/bb/ui/depexp.py b/bitbake/lib/bb/ui/depexp.py index 13bf9ac00..3dbd5e0ec 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 -- cgit v1.2.3