From 108220137bc51b10f4053df64f3c84195906b7a8 Mon Sep 17 00:00:00 2001 From: Joshua Lock Date: Tue, 16 Aug 2011 13:58:24 -0700 Subject: 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 Signed-off-by: Richard Purdie --- bitbake/lib/bb/ui/crumbs/runningbuild.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bitbake/lib') 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): 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 -- cgit v1.2.3-54-g00ecf