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 10:00:31 -0700
commit108220137bc51b10f4053df64f3c84195906b7a8 (patch)
treece6378f2eb0389b643e65836e0cfb7acd2035260
parent38393fb3c2f9639809a05158a27b6a5e5e840929 (diff)
downloadpoky-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>
-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 f78969cc04..d9e9f26f19 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):
254 pbar.update(event.current, self.progress_total) 254 pbar.update(event.current, self.progress_total)
255 elif isinstance(event, bb.event.CacheLoadCompleted) and pbar: 255 elif isinstance(event, bb.event.CacheLoadCompleted) and pbar:
256 pbar.update(self.progress_total, self.progress_total) 256 pbar.update(self.progress_total, self.progress_total)
257 257 pbar.hide()
258 elif isinstance(event, bb.event.ParseStarted) and pbar: 258 elif isinstance(event, bb.event.ParseStarted) and pbar:
259 if event.total == 0: 259 if event.total == 0:
260 return 260 return