hob: set modal flag on progress dialog
PATCH 1/1 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 <[email protected]>
--- bitbake/lib/bb/ui/depexp.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
bitbake/lib/bb/ui/depexp.py +2 -1
@@ -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)
Signature · 1 line
1.7.10