| Submitter | Ross Burton |
|---|---|
| Date | Sept. 27, 2012, 3:46 p.m. |
| Message ID | <1348760769-22726-1-git-send-email-ross.burton@intel.com> |
| Download | mbox | patch |
| Permalink | /patch/37369/ |
| State | New |
| Headers | show |
Comments
Patch
diff --git a/bitbake/lib/bb/ui/depexp.py b/bitbake/lib/bb/ui/depexp.py index 425302e..1a716a8 100644 --- a/bitbake/lib/bb/ui/depexp.py +++ b/bitbake/lib/bb/ui/depexp.py @@ -220,7 +220,8 @@ def main(server, eventHandler): gtk.gdk.threads_enter() dep = DepExplorer() - bardialog = gtk.Dialog(parent=dep) + bardialog = gtk.Dialog(parent=dep, + flags=gtk.DIALOG_MODAL|gtk.DIALOG_DESTROY_WITH_PARENT) bardialog.set_default_size(400, 50) pbar = HobProgressBar() bardialog.vbox.pack_start(pbar)
The entire interface isn't usable whilst the progress dialog is up so we might as well set the modal flag so that some WMs (such as GNOME 3) can do nice things with the dialog (such as pin it to the titlebar). Signed-off-by: Ross Burton <ross.burton@intel.com> --- bitbake/lib/bb/ui/depexp.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)