diff options
author | Andrei Dinu <andrei.adrianx.dinu@intel.com> | 2012-10-12 17:51:30 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-10-24 21:13:07 +0100 |
commit | b3374dbfd01ea5c962625781b6b9ce19829f3d5e (patch) | |
tree | 194704dbe73d9e22714b466aba5b4fe1525ab3ea /bitbake/lib/bb/ui/crumbs/progressbar.py | |
parent | 9cf610680f669c0b85036fdf2cb9c431eb040f6f (diff) | |
download | poky-b3374dbfd01ea5c962625781b6b9ce19829f3d5e.tar.gz |
bitbake: hob: stop build without percentage shown
added a method in progressbar.py that doesn't update the
percentage in the progress bar shown in hob.
the call of the method is done in builder.py.
(Bitbake rev: 7ab5775fceda1055b86bdc3313fc4bf928bf5155)
Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/ui/crumbs/progressbar.py')
-rw-r--r-- | bitbake/lib/bb/ui/crumbs/progressbar.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/progressbar.py b/bitbake/lib/bb/ui/crumbs/progressbar.py index f75818ac76..3e2c660e4a 100644 --- a/bitbake/lib/bb/ui/crumbs/progressbar.py +++ b/bitbake/lib/bb/ui/crumbs/progressbar.py | |||
@@ -43,6 +43,11 @@ class HobProgressBar (gtk.ProgressBar): | |||
43 | text += " %.0f%%" % self.percentage | 43 | text += " %.0f%%" % self.percentage |
44 | self.set_text(text) | 44 | self.set_text(text) |
45 | 45 | ||
46 | def set_stop_title(self, text=None): | ||
47 | if not text: | ||
48 | text = "" | ||
49 | self.set_text(text) | ||
50 | |||
46 | def reset(self): | 51 | def reset(self): |
47 | self.set_fraction(0) | 52 | self.set_fraction(0) |
48 | self.set_text("") | 53 | self.set_text("") |