summaryrefslogtreecommitdiffstats
path: root/lib/bb/ui/hob.py
diff options
context:
space:
mode:
authorJoshua Lock <josh@linux.intel.com>2011-08-04 15:38:19 -0700
committerJoshua Lock <josh@linux.intel.com>2011-08-04 15:38:19 -0700
commit3d66d4e64a6352c01662a24ee957eddcd3fde7fc (patch)
tree19a4e7378e4d7376ba8ac64f12d3997c3c3578ea /lib/bb/ui/hob.py
parent5f079f11ca626a4a11ad728c56bde21009ddd7c8 (diff)
downloadbitbake-3d66d4e64a6352c01662a24ee957eddcd3fde7fc.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. Signed-off-by: Joshua Lock <josh@linux.intel.com>
Diffstat (limited to 'lib/bb/ui/hob.py')
-rw-r--r--lib/bb/ui/hob.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/bb/ui/hob.py b/lib/bb/ui/hob.py
index a38868ff7..5906251f4 100644
--- a/lib/bb/ui/hob.py
+++ b/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)