summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShane Wang <shane.wang@intel.com>2012-04-09 22:13:46 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-04-11 00:05:22 +0100
commit59cd6a56e3bc44e37560e774f237e8f6d1cc4050 (patch)
treef286f68db28aacba375211992f9fc1b0eb5db245
parent62e5a4df09fb8d244bc4d9aac0f1e6af6e692b32 (diff)
downloadpoky-59cd6a56e3bc44e37560e774f237e8f6d1cc4050.tar.gz
poky-59cd6a56e3bc44e37560e774f237e8f6d1cc4050.tar.bz2
poky-59cd6a56e3bc44e37560e774f237e8f6d1cc4050.zip
Hob: clean up and reword stop_parse()
(Bitbake rev: f6e0d93c96d1626e7da298e296b1be9e425173b2) Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rwxr-xr-xbitbake/lib/bb/ui/crumbs/builder.py6
-rw-r--r--bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py2
2 files changed, 4 insertions, 4 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/builder.py b/bitbake/lib/bb/ui/crumbs/builder.py
index 3a083307cb..8393f6636a 100755
--- a/bitbake/lib/bb/ui/crumbs/builder.py
+++ b/bitbake/lib/bb/ui/crumbs/builder.py
@@ -390,6 +390,9 @@ class Builder(gtk.Window):
def generate_configuration_async(self):
self.handler.generate_configuration()
+ def cancel_parse_sync(self):
+ self.handler.cancel_parse()
+
def load_template(self, path):
self.template = TemplateMgr()
self.template.load(path)
@@ -1011,9 +1014,6 @@ class Builder(gtk.Window):
def show_configuration(self):
self.switch_page(self.BASEIMG_SELECTED)
- def stop_parse(self):
- self.handler.cancel_parse()
-
def stop_build(self):
if self.stopping:
lbl = "<b>Force Stop build?</b>\nYou've already selected Stop once,"
diff --git a/bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py b/bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py
index 900244f204..9a893789be 100644
--- a/bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py
+++ b/bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py
@@ -251,7 +251,7 @@ class ImageConfigurationPage (HobPage):
return button_box
def stop_button_clicked_cb(self, button):
- self.builder.stop_parse()
+ self.builder.cancel_parse_sync()
def machine_combo_changed_cb(self, machine_combo):
combo_item = machine_combo.get_active_text()