diff options
author | Ross Burton <ross.burton@intel.com> | 2012-09-27 16:46:09 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-09-28 11:14:31 +0100 |
commit | 9a19fe8e8c65b75dbbb4ae5401df6d6838495bdd (patch) | |
tree | b1a2fdf28b51ca3373241cceae3cc95159de81e4 | |
parent | ae27a7cf4d31a1b99840a761a27fd6256cb1dd9b (diff) | |
download | bitbake-9a19fe8e8c65b75dbbb4ae5401df6d6838495bdd.tar.gz |
hob: set modal flag on progress dialog
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | lib/bb/ui/depexp.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/bb/ui/depexp.py b/lib/bb/ui/depexp.py index 425302e32..1a716a88b 100644 --- a/lib/bb/ui/depexp.py +++ b/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) |