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
poky-f511b8cd076d328ecf32337a57f9780b915bff94.tar.bz2
poky-f511b8cd076d328ecf32337a57f9780b915bff94.zip
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):
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 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):
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,