diff options
author | Joshua Lock <josh@linux.intel.com> | 2011-08-04 15:38:19 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-08-05 17:47:42 +0100 |
commit | 040e26ac09ff092f21665f25d8dd5a3cba3a712b (patch) | |
tree | ee9246c4bc25615a3f9a81348fb9b561eb2367bf /bitbake/lib/bb/ui | |
parent | fe53449330c98a8ced424bbe1161c0035836646d (diff) | |
download | ast2050-yocto-poky-040e26ac09ff092f21665f25d8dd5a3cba3a712b.zip ast2050-yocto-poky-040e26ac09ff092f21665f25d8dd5a3cba3a712b.tar.gz |
bb/ui/hob: reset event handler once build complete
The HobEventHandler passes events on to RunningBuild when a build is in
progress. This patch resets the HobEventHandler to handle events when the
build is complete.
(Bitbake rev: 3d66d4e64a6352c01662a24ee957eddcd3fde7fc)
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')
-rw-r--r-- | bitbake/lib/bb/ui/hob.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/lib/bb/ui/hob.py b/bitbake/lib/bb/ui/hob.py index a38868f..5906251 100644 --- a/bitbake/lib/bb/ui/hob.py +++ b/bitbake/lib/bb/ui/hob.py @@ -450,6 +450,8 @@ class MainWindow (gtk.Window): self.nb.set_current_page(0) def build_complete_cb(self, running_build): + # Have the handler process BB events again + self.handler.building = None self.stopping = False self.back.connect("clicked", self.back_button_clicked_cb) self.back.set_sensitive(True) |