From b3374dbfd01ea5c962625781b6b9ce19829f3d5e Mon Sep 17 00:00:00 2001 From: Andrei Dinu Date: Fri, 12 Oct 2012 17:51:30 +0300 Subject: 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 Signed-off-by: Richard Purdie --- bitbake/lib/bb/ui/crumbs/progressbar.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'bitbake/lib/bb/ui/crumbs/progressbar.py') 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): text += " %.0f%%" % self.percentage self.set_text(text) + def set_stop_title(self, text=None): + if not text: + text = "" + self.set_text(text) + def reset(self): self.set_fraction(0) self.set_text("") -- cgit v1.2.3-54-g00ecf