From 5251d9d9a5644aa463a9e40c6291562a44ca0c82 Mon Sep 17 00:00:00 2001 From: Joshua Lock Date: Tue, 10 May 2011 17:07:56 -0700 Subject: bitbake/ui: Fix Gtk+ GUI's after recent cache changes (Bitbake rev: 2bc8f405ec552ae0f1a79790569b2d044a35d3ba) Signed-off-by: Joshua Lock Signed-off-by: Richard Purdie --- bitbake/lib/bb/ui/depexp.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bitbake/lib/bb/ui/depexp.py') diff --git a/bitbake/lib/bb/ui/depexp.py b/bitbake/lib/bb/ui/depexp.py index 3dbd5e0eca..575dd1c2b7 100644 --- a/bitbake/lib/bb/ui/depexp.py +++ b/bitbake/lib/bb/ui/depexp.py @@ -254,6 +254,8 @@ def main(server, eventHandler): if isinstance(event, bb.event.ParseStarted): progress_total = event.total + if progress_total == 0: + continue gtk.gdk.threads_enter() pbar.set_title("Processing recipes") pbar.update(0, progress_total) -- cgit v1.2.3-54-g00ecf