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>
This commit is contained in:
Shane Wang
2012-04-09 22:13:46 +08:00
committed by Richard Purdie
parent 62e5a4df09
commit 59cd6a56e3
2 changed files with 4 additions and 4 deletions

View File

@@ -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,"

View File

@@ -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()