From patchwork Mon Apr 9 14:13:41 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [bitbake-devel, 11/21] Hob: clean up to call clear_busy() in hobeventhandler.py Date: Mon, 09 Apr 2012 14:13:41 -0000 From: Shane Wang X-Patchwork-Id: 25409 Message-Id: To: bitbake-devel@lists.openembedded.org Signed-off-by: Shane Wang --- bitbake/lib/bb/ui/crumbs/builder.py | 1 - bitbake/lib/bb/ui/crumbs/hobeventhandler.py | 1 + 2 files changed, 1 insertions(+), 1 deletions(-) diff --git a/bitbake/lib/bb/ui/crumbs/builder.py b/bitbake/lib/bb/ui/crumbs/builder.py index 959d8c1..ddd93f6 100755 --- a/bitbake/lib/bb/ui/crumbs/builder.py +++ b/bitbake/lib/bb/ui/crumbs/builder.py @@ -542,7 +542,6 @@ class Builder(gtk.Window): HobButton.style_button(button) response = dialog.run() dialog.destroy() - self.handler.clear_busy() self.configuration.curr_mach = "" self.image_configuration_page.switch_machine_combo() self.switch_page(self.MACHINE_SELECTION) diff --git a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py index d608b5f..dd85530 100644 --- a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py +++ b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py @@ -202,6 +202,7 @@ class HobHandler(gobject.GObject): elif isinstance(event, bb.command.CommandFailed): self.commands_async = [] + self.clear_busy() self.emit("command-failed", self.error_msg) self.error_msg = "" elif isinstance(event, (bb.event.ParseStarted,