summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/ui/crumbs
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/ui/crumbs')
-rwxr-xr-xbitbake/lib/bb/ui/crumbs/builder.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/builder.py b/bitbake/lib/bb/ui/crumbs/builder.py
index 8529b05848..10f1ff32c0 100755
--- a/bitbake/lib/bb/ui/crumbs/builder.py
+++ b/bitbake/lib/bb/ui/crumbs/builder.py
@@ -384,6 +384,9 @@ class Builder(gtk.Window):
384 def request_package_info_async(self): 384 def request_package_info_async(self):
385 self.handler.request_package_info() 385 self.handler.request_package_info()
386 386
387 def cancel_build_sync(self, force=False):
388 self.handler.cancel_build(force)
389
387 def load_template(self, path): 390 def load_template(self, path):
388 self.template = TemplateMgr() 391 self.template = TemplateMgr()
389 self.template.load(path) 392 self.template.load(path)
@@ -1041,6 +1044,6 @@ class Builder(gtk.Window):
1041 if response != gtk.RESPONSE_CANCEL: 1044 if response != gtk.RESPONSE_CANCEL:
1042 self.stopping = True 1045 self.stopping = True
1043 if response == gtk.RESPONSE_OK: 1046 if response == gtk.RESPONSE_OK:
1044 self.handler.cancel_build() 1047 self.cancel_build_sync()
1045 elif response == gtk.RESPONSE_YES: 1048 elif response == gtk.RESPONSE_YES:
1046 self.handler.cancel_build(True) 1049 self.cancel_build_sync(True)