summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShane Wang <shane.wang@intel.com>2012-04-09 22:13:41 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-04-11 00:05:21 +0100
commitf511b8cd076d328ecf32337a57f9780b915bff94 (patch)
tree8080fc71e89aa58dd65103af2b423c77339aee24
parent21901e0ada51a9fcba317b1d2207c2b28876b8ee (diff)
downloadpoky-f511b8cd076d328ecf32337a57f9780b915bff94.tar.gz
Hob: clean up to call clear_busy() in hobeventhandler.py
(Bitbake rev: 7b6414e2b82666c3cfa5432ce8fe8c348b227441) 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.py1
-rw-r--r--bitbake/lib/bb/ui/crumbs/hobeventhandler.py1
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 1730c77589..88a673a044 100755
--- a/bitbake/lib/bb/ui/crumbs/builder.py
+++ b/bitbake/lib/bb/ui/crumbs/builder.py
@@ -545,7 +545,6 @@ class Builder(gtk.Window):
545 HobButton.style_button(button) 545 HobButton.style_button(button)
546 response = dialog.run() 546 response = dialog.run()
547 dialog.destroy() 547 dialog.destroy()
548 self.handler.clear_busy()
549 self.configuration.curr_mach = "" 548 self.configuration.curr_mach = ""
550 self.image_configuration_page.switch_machine_combo() 549 self.image_configuration_page.switch_machine_combo()
551 self.switch_page(self.MACHINE_SELECTION) 550 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 d608b5f780..dd85530978 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):
202 202
203 elif isinstance(event, bb.command.CommandFailed): 203 elif isinstance(event, bb.command.CommandFailed):
204 self.commands_async = [] 204 self.commands_async = []
205 self.clear_busy()
205 self.emit("command-failed", self.error_msg) 206 self.emit("command-failed", self.error_msg)
206 self.error_msg = "" 207 self.error_msg = ""
207 elif isinstance(event, (bb.event.ParseStarted, 208 elif isinstance(event, (bb.event.ParseStarted,