[bitbake-devel] [PATCH 3/6] ui/hob: add more guidance to the stop dialog
Joshua Lock
josh at linux.intel.com
Thu Jul 21 18:34:20 UTC 2011
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]
Signed-off-by: Joshua Lock <josh at linux.intel.com>
---
lib/bb/ui/hob.py | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/lib/bb/ui/hob.py b/lib/bb/ui/hob.py
index 06d936e..aed7eac 100644
--- a/lib/bb/ui/hob.py
+++ b/lib/bb/ui/hob.py
@@ -650,7 +650,14 @@ class MainWindow (gtk.Window):
return vbox
def cancel_build(self, button):
- lbl = "<b>Stop build?</b>\n\nAre you sure you want to stop this build?"
+ lbl = "<b>Stop build?</b>\n\nAre you sure you want to stop this build?\n"
+ lbl = lbl + "'Force Stop' will stop the build as quickly as"
+ lbl = lbl + " possible but may well leave your build directory in an"
+ lbl = lbl + " unusable state that requires manual steps to fix.\n"
+ lbl = lbl + "'Stop' will stop the build as soon as all in"
+ lbl = lbl + " progress build tasks are finished. However if a"
+ lbl = lbl + " lengthy compilation phase is in progress this may take"
+ lbl = lbl + " some time."
dialog = CrumbsDialog(self, lbl, gtk.STOCK_DIALOG_WARNING)
dialog.add_button(gtk.STOCK_CANCEL, gtk.RESPONSE_CANCEL)
dialog.add_button("Stop", gtk.RESPONSE_OK)
--
1.7.6
More information about the bitbake-devel
mailing list