diff options
author | Constantin Musca <constantinx.musca@intel.com> | 2012-09-26 11:08:15 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-09-27 16:45:28 +0100 |
commit | f40bfd2e5f91a3c699833f19cec435a9b897f4b5 (patch) | |
tree | b121ae677cc51ada12a5d348b3de0443f3b00273 /bitbake/lib | |
parent | 81602499c911f5523ee304349b23608e1f8ffff6 (diff) | |
download | poky-f40bfd2e5f91a3c699833f19cec435a9b897f4b5.tar.gz |
bitbake: 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]
(Bitbake rev: 6f59db920ca4f527606670969c79afbf34eaff81)
Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib')
-rwxr-xr-x | bitbake/lib/bb/ui/crumbs/builder.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/builder.py b/bitbake/lib/bb/ui/crumbs/builder.py index b847165030..e952aa8208 100755 --- a/bitbake/lib/bb/ui/crumbs/builder.py +++ b/bitbake/lib/bb/ui/crumbs/builder.py | |||
@@ -1474,6 +1474,8 @@ class Builder(gtk.Window): | |||
1474 | if response != gtk.RESPONSE_CANCEL: | 1474 | if response != gtk.RESPONSE_CANCEL: |
1475 | self.stopping = True | 1475 | self.stopping = True |
1476 | if response == gtk.RESPONSE_OK: | 1476 | if response == gtk.RESPONSE_OK: |
1477 | self.build_details_page.progress_bar.set_title("Stopping the build...") | ||
1478 | self.build_details_page.progress_bar.set_rcstyle("stop") | ||
1477 | self.cancel_build_sync() | 1479 | self.cancel_build_sync() |
1478 | elif response == gtk.RESPONSE_YES: | 1480 | elif response == gtk.RESPONSE_YES: |
1479 | self.cancel_build_sync(True) | 1481 | self.cancel_build_sync(True) |