summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorConstantin Musca <constantinx.musca@intel.com>2012-09-26 11:08:15 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-09-27 16:42:01 +0100
commit6f59db920ca4f527606670969c79afbf34eaff81 (patch)
tree2157ab6be4c2216c2e60c7c2b275676c18bcb67d
parentce5c7a95a359cdaecab7c4a519ad4f9df029da82 (diff)
downloadbitbake-6f59db920ca4f527606670969c79afbf34eaff81.tar.gz
hob/builder: When you stop a build, Hob should tell you stopping is happening
- use the progress bar text to indicate the stopping status - the text should say: 'Stopping the build...' [YOCTO #3152] Signed-off-by: Constantin Musca <constantinx.musca@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rwxr-xr-xlib/bb/ui/crumbs/builder.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/bb/ui/crumbs/builder.py b/lib/bb/ui/crumbs/builder.py
index b84716503..e952aa820 100755
--- a/lib/bb/ui/crumbs/builder.py
+++ b/lib/bb/ui/crumbs/builder.py
@@ -1474,6 +1474,8 @@ class Builder(gtk.Window):
if response != gtk.RESPONSE_CANCEL:
self.stopping = True
if response == gtk.RESPONSE_OK:
+ self.build_details_page.progress_bar.set_title("Stopping the build...")
+ self.build_details_page.progress_bar.set_rcstyle("stop")
self.cancel_build_sync()
elif response == gtk.RESPONSE_YES:
self.cancel_build_sync(True)