summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoshua Lock <josh@linux.intel.com>2011-03-08 21:39:38 -0800
committerSaul Wold <sgw@linux.intel.com>2011-03-14 17:41:46 -0700
commitabcec8015c29c4322405e0e71ed05cb74d441cde (patch)
treebc02f4a6bd266d64547f12805a3645b6ce670561
parent70febdf0ce8623d7da5bb8aefb6c6e498cd7f652 (diff)
downloadpoky-abcec8015c29c4322405e0e71ed05cb74d441cde.tar.gz
bitbake/hob: fix cancel button
An accidental logic inversion (aka thinko) had the cancel button only cancel a build when the user didn't confirm the cancellation (i.e. clicked no)... Signed-off-by: Joshua Lock <josh@linux.intel.com>
-rw-r--r--bitbake/lib/bb/ui/hob.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/hob.py b/bitbake/lib/bb/ui/hob.py
index 52788813c5..0f8fe8c2d6 100644
--- a/bitbake/lib/bb/ui/hob.py
+++ b/bitbake/lib/bb/ui/hob.py
@@ -420,7 +420,7 @@ class MainWindow (gtk.Window):
420 label.show() 420 label.show()
421 response = dialog.run() 421 response = dialog.run()
422 dialog.destroy() 422 dialog.destroy()
423 if not response == gtk.RESPONSE_YES: 423 if response == gtk.RESPONSE_YES:
424 self.handler.cancel_build() 424 self.handler.cancel_build()
425 return 425 return
426 426