summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/ui/crumbs/hobeventhandler.py
diff options
context:
space:
mode:
authorJoshua Lock <josh@linux.intel.com>2011-05-10 17:07:56 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-05-16 20:48:34 +0100
commit5251d9d9a5644aa463a9e40c6291562a44ca0c82 (patch)
treedd0e53d63391674d0673d704626a08a80a263abe /bitbake/lib/bb/ui/crumbs/hobeventhandler.py
parentaa721aa065ffdb5eef3f0e3ed87160f72a2d7182 (diff)
downloadpoky-5251d9d9a5644aa463a9e40c6291562a44ca0c82.tar.gz
bitbake/ui: Fix Gtk+ GUI's after recent cache changes
(Bitbake rev: 2bc8f405ec552ae0f1a79790569b2d044a35d3ba) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/ui/crumbs/hobeventhandler.py')
-rw-r--r--bitbake/lib/bb/ui/crumbs/hobeventhandler.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py
index 84f304352e..c474491d6a 100644
--- a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py
+++ b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py
@@ -102,6 +102,8 @@ class HobHandler(gobject.GObject):
102 elif isinstance(event, bb.event.CacheLoadCompleted) and pbar: 102 elif isinstance(event, bb.event.CacheLoadCompleted) and pbar:
103 pbar.update(bb.ui.crumbs.hobeventhandler.progress_total, bb.ui.crumbs.hobeventhandler.progress_total) 103 pbar.update(bb.ui.crumbs.hobeventhandler.progress_total, bb.ui.crumbs.hobeventhandler.progress_total)
104 elif isinstance(event, bb.event.ParseStarted) and pbar: 104 elif isinstance(event, bb.event.ParseStarted) and pbar:
105 if event.total == 0:
106 return
105 pbar.set_title("Processing recipes") 107 pbar.set_title("Processing recipes")
106 bb.ui.crumbs.hobeventhandler.progress_total = event.total 108 bb.ui.crumbs.hobeventhandler.progress_total = event.total
107 pbar.update(0, bb.ui.crumbs.hobeventhandler.progress_total) 109 pbar.update(0, bb.ui.crumbs.hobeventhandler.progress_total)