summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/ui/crumbs
diff options
context:
space:
mode:
authorJoshua Lock <josh@linux.intel.com>2011-02-02 20:14:41 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-24 15:54:53 +0000
commitf258cedfe8432d61eebd21a239381e9510be7109 (patch)
tree4ecfdb6515d46edad950a2a50cff5f0de39095d1 /bitbake/lib/bb/ui/crumbs
parent6dbceb0be9a1b8d7d5124b4fbd74f18609bc6146 (diff)
downloadpoky-f258cedfe8432d61eebd21a239381e9510be7109.tar.gz
bitbake/progress: make progress dialog modal for parent window
Signed-off-by: Joshua Lock <josh@linux.intel.com>
Diffstat (limited to 'bitbake/lib/bb/ui/crumbs')
-rw-r--r--bitbake/lib/bb/ui/crumbs/progress.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/progress.py b/bitbake/lib/bb/ui/crumbs/progress.py
index ce3a6c37b4..0c7ad963b5 100644
--- a/bitbake/lib/bb/ui/crumbs/progress.py
+++ b/bitbake/lib/bb/ui/crumbs/progress.py
@@ -3,11 +3,10 @@ import gtk
3class ProgressBar(gtk.Dialog): 3class ProgressBar(gtk.Dialog):
4 def __init__(self, parent): 4 def __init__(self, parent):
5 5
6 gtk.Dialog.__init__(self) 6 gtk.Dialog.__init__(self, flags=(gtk.DIALOG_MODAL | gtk.DIALOG_DESTROY_WITH_PARENT))
7 self.set_title("Parsing metadata, please wait...") 7 self.set_title("Parsing metadata, please wait...")
8 self.set_default_size(500, 0) 8 self.set_default_size(500, 0)
9 self.set_transient_for(parent) 9 self.set_transient_for(parent)
10 self.set_destroy_with_parent(True)
11 self.progress = gtk.ProgressBar() 10 self.progress = gtk.ProgressBar()
12 self.vbox.pack_start(self.progress) 11 self.vbox.pack_start(self.progress)
13 self.show_all() 12 self.show_all()