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:15:04 +0100 |
commit | 649048e5376baeb84a697dc640c90829ccc5796e (patch) | |
tree | 9ba0ebced530aa9329fd1f65dd733344dc4bf6cd /bitbake/lib/bb/ui/depexp.py | |
parent | 1ad53437c4e94607951e0231443af8a11179480a (diff) | |
download | poky-649048e5376baeb84a697dc640c90829ccc5796e.tar.gz |
bitbake: 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).
(Bitbake rev: 9a19fe8e8c65b75dbbb4ae5401df6d6838495bdd)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/ui/depexp.py')
-rw-r--r-- | bitbake/lib/bb/ui/depexp.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/depexp.py b/bitbake/lib/bb/ui/depexp.py index 425302e320..1a716a88bf 100644 --- a/bitbake/lib/bb/ui/depexp.py +++ b/bitbake/lib/bb/ui/depexp.py | |||
@@ -220,7 +220,8 @@ def main(server, eventHandler): | |||
220 | 220 | ||
221 | gtk.gdk.threads_enter() | 221 | gtk.gdk.threads_enter() |
222 | dep = DepExplorer() | 222 | dep = DepExplorer() |
223 | bardialog = gtk.Dialog(parent=dep) | 223 | bardialog = gtk.Dialog(parent=dep, |
224 | flags=gtk.DIALOG_MODAL|gtk.DIALOG_DESTROY_WITH_PARENT) | ||
224 | bardialog.set_default_size(400, 50) | 225 | bardialog.set_default_size(400, 50) |
225 | pbar = HobProgressBar() | 226 | pbar = HobProgressBar() |
226 | bardialog.vbox.pack_start(pbar) | 227 | bardialog.vbox.pack_start(pbar) |