]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
Hob: clean up to call clear_busy() in hobeventhandler.py
authorShane Wang <shane.wang@intel.com>
Mon, 9 Apr 2012 14:13:41 +0000 (22:13 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 10 Apr 2012 23:02:21 +0000 (00:02 +0100)
Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lib/bb/ui/crumbs/builder.py
lib/bb/ui/crumbs/hobeventhandler.py

index 1730c775892edd2d37ecd8a49fe307099234a11e..88a673a0446103c4e10ffd670c034696f0733abe 100755 (executable)
@@ -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)
index d608b5f7804d61314470c8923dabf9f5d867f651..dd8553097894d4c75b51b7d17f4125e93d5add3f 100644 (file)
@@ -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,