summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
authorJoshua Lock <josh@linux.intel.com>2011-07-15 18:06:41 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-07-21 22:08:09 +0100
commitaccd46c65f7eb51b96adb495efe9bcdbaacd4948 (patch)
tree0869e1ab2f13f577bc5d34ed71611c91b40f2328 /bitbake/lib
parenta1e18b913ffb7e31fe1fd6f785d15dbfad365228 (diff)
downloadpoky-accd46c65f7eb51b96adb495efe9bcdbaacd4948.tar.gz
ui/hob: add more guidance to the stop dialog
This patch adds explanation of the different options when asking the user to choose between Stop and Force Stop so they can make an informed choice. Fixes [YOCTO #1223] (Bitbake rev: afb87a809962b756f8282c9e9fdf9b15cdb9192b) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/bb/ui/hob.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/hob.py b/bitbake/lib/bb/ui/hob.py
index 06d936e71b..aed7eacbaa 100644
--- a/bitbake/lib/bb/ui/hob.py
+++ b/bitbake/lib/bb/ui/hob.py
@@ -650,7 +650,14 @@ class MainWindow (gtk.Window):
650 return vbox 650 return vbox
651 651
652 def cancel_build(self, button): 652 def cancel_build(self, button):
653 lbl = "<b>Stop build?</b>\n\nAre you sure you want to stop this build?" 653 lbl = "<b>Stop build?</b>\n\nAre you sure you want to stop this build?\n"
654 lbl = lbl + "'Force Stop' will stop the build as quickly as"
655 lbl = lbl + " possible but may well leave your build directory in an"
656 lbl = lbl + " unusable state that requires manual steps to fix.\n"
657 lbl = lbl + "'Stop' will stop the build as soon as all in"
658 lbl = lbl + " progress build tasks are finished. However if a"
659 lbl = lbl + " lengthy compilation phase is in progress this may take"
660 lbl = lbl + " some time."
654 dialog = CrumbsDialog(self, lbl, gtk.STOCK_DIALOG_WARNING) 661 dialog = CrumbsDialog(self, lbl, gtk.STOCK_DIALOG_WARNING)
655 dialog.add_button(gtk.STOCK_CANCEL, gtk.RESPONSE_CANCEL) 662 dialog.add_button(gtk.STOCK_CANCEL, gtk.RESPONSE_CANCEL)
656 dialog.add_button("Stop", gtk.RESPONSE_OK) 663 dialog.add_button("Stop", gtk.RESPONSE_OK)