summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoshua Lock <josh@linux.intel.com>2011-08-16 13:58:24 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-08-23 09:59:49 -0700
commit64dfc574c12d882761e4958c8b1881cd47a87e0d (patch)
tree3794e0618a06d85aaad99184d0743f7039c330dd
parenta12da000a8e4138fbdfd77f9c49b11fc69a315e1 (diff)
downloadbitbake-64dfc574c12d882761e4958c8b1881cd47a87e0d.tar.gz
bb/ui/crumbs/runningbuild: hide the progress bar on cache load complete
When we receive the CacheLoadComplete command we need to ensure the progress bar is hidden as we can't expect the ParseComplete event, where this would usually be done. This patch makes the Goggle UI usable again. Signed-off-by: Joshua Lock <josh@linux.intel.com>
-rw-r--r--lib/bb/ui/crumbs/runningbuild.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/ui/crumbs/runningbuild.py b/lib/bb/ui/crumbs/runningbuild.py
index f78969cc0..d9e9f26f1 100644
--- a/lib/bb/ui/crumbs/runningbuild.py
+++ b/lib/bb/ui/crumbs/runningbuild.py
@@ -254,7 +254,7 @@ class RunningBuild (gobject.GObject):
pbar.update(event.current, self.progress_total)
elif isinstance(event, bb.event.CacheLoadCompleted) and pbar:
pbar.update(self.progress_total, self.progress_total)
-
+ pbar.hide()
elif isinstance(event, bb.event.ParseStarted) and pbar:
if event.total == 0:
return