summaryrefslogtreecommitdiffstats
path: root/bitbake
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 10:00:31 -0700
commit108220137bc51b10f4053df64f3c84195906b7a8 (patch)
treece6378f2eb0389b643e65836e0cfb7acd2035260 /bitbake
parent38393fb3c2f9639809a05158a27b6a5e5e840929 (diff)
downloadast2050-yocto-poky-108220137bc51b10f4053df64f3c84195906b7a8.zip
ast2050-yocto-poky-108220137bc51b10f4053df64f3c84195906b7a8.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. (Bitbake rev: 64dfc574c12d882761e4958c8b1881cd47a87e0d) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/ui/crumbs/runningbuild.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/runningbuild.py b/bitbake/lib/bb/ui/crumbs/runningbuild.py
index f78969c..d9e9f26 100644
--- a/bitbake/lib/bb/ui/crumbs/runningbuild.py
+++ b/bitbake/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
OpenPOWER on IntegriCloud