diff options
Diffstat (limited to 'bitbake/lib')
-rw-r--r-- | bitbake/lib/bb/ui/crumbs/progress.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/progress.py b/bitbake/lib/bb/ui/crumbs/progress.py index 0c7ad963b5..1d28a111b3 100644 --- a/bitbake/lib/bb/ui/crumbs/progress.py +++ b/bitbake/lib/bb/ui/crumbs/progress.py | |||
@@ -11,6 +11,9 @@ class ProgressBar(gtk.Dialog): | |||
11 | self.vbox.pack_start(self.progress) | 11 | self.vbox.pack_start(self.progress) |
12 | self.show_all() | 12 | self.show_all() |
13 | 13 | ||
14 | def set_text(self, msg): | ||
15 | self.progress.set_text(msg) | ||
16 | |||
14 | def update(self, x, y): | 17 | def update(self, x, y): |
15 | self.progress.set_fraction(float(x)/float(y)) | 18 | self.progress.set_fraction(float(x)/float(y)) |
16 | self.progress.set_text("%2d %%" % (x*100/y)) | 19 | self.progress.set_text("%2d %%" % (x*100/y)) |