diff options
Diffstat (limited to 'bitbake/lib/bb/ui/crumbs')
-rw-r--r-- | bitbake/lib/bb/ui/crumbs/progress.py | 3 |
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 | |||
3 | class ProgressBar(gtk.Dialog): | 3 | class 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() |