mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 17:39:31 +00:00
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:
committed by
Richard Purdie
parent
62e5a4df09
commit
59cd6a56e3
@@ -390,6 +390,9 @@ class Builder(gtk.Window):
|
|||||||
def generate_configuration_async(self):
|
def generate_configuration_async(self):
|
||||||
self.handler.generate_configuration()
|
self.handler.generate_configuration()
|
||||||
|
|
||||||
|
def cancel_parse_sync(self):
|
||||||
|
self.handler.cancel_parse()
|
||||||
|
|
||||||
def load_template(self, path):
|
def load_template(self, path):
|
||||||
self.template = TemplateMgr()
|
self.template = TemplateMgr()
|
||||||
self.template.load(path)
|
self.template.load(path)
|
||||||
@@ -1011,9 +1014,6 @@ class Builder(gtk.Window):
|
|||||||
def show_configuration(self):
|
def show_configuration(self):
|
||||||
self.switch_page(self.BASEIMG_SELECTED)
|
self.switch_page(self.BASEIMG_SELECTED)
|
||||||
|
|
||||||
def stop_parse(self):
|
|
||||||
self.handler.cancel_parse()
|
|
||||||
|
|
||||||
def stop_build(self):
|
def stop_build(self):
|
||||||
if self.stopping:
|
if self.stopping:
|
||||||
lbl = "<b>Force Stop build?</b>\nYou've already selected Stop once,"
|
lbl = "<b>Force Stop build?</b>\nYou've already selected Stop once,"
|
||||||
|
|||||||
@@ -251,7 +251,7 @@ class ImageConfigurationPage (HobPage):
|
|||||||
return button_box
|
return button_box
|
||||||
|
|
||||||
def stop_button_clicked_cb(self, button):
|
def stop_button_clicked_cb(self, button):
|
||||||
self.builder.stop_parse()
|
self.builder.cancel_parse_sync()
|
||||||
|
|
||||||
def machine_combo_changed_cb(self, machine_combo):
|
def machine_combo_changed_cb(self, machine_combo):
|
||||||
combo_item = machine_combo.get_active_text()
|
combo_item = machine_combo.get_active_text()
|
||||||
|
|||||||
Reference in New Issue
Block a user