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 | |
parent | fe53449330c98a8ced424bbe1161c0035836646d (diff) | |
download | 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')
-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 a38868ff74..5906251f41 100644 --- a/bitbake/lib/bb/ui/hob.py +++ b/bitbake/lib/bb/ui/hob.py | |||
@@ -450,6 +450,8 @@ class MainWindow (gtk.Window): | |||
450 | self.nb.set_current_page(0) | 450 | self.nb.set_current_page(0) |
451 | 451 | ||
452 | def build_complete_cb(self, running_build): | 452 | def build_complete_cb(self, running_build): |
453 | # Have the handler process BB events again | ||
454 | self.handler.building = None | ||
453 | self.stopping = False | 455 | self.stopping = False |
454 | self.back.connect("clicked", self.back_button_clicked_cb) | 456 | self.back.connect("clicked", self.back_button_clicked_cb) |
455 | self.back.set_sensitive(True) | 457 | self.back.set_sensitive(True) |