From: Constantin Musca Date: Wed, 26 Sep 2012 08:08:15 +0000 (+0300) Subject: bitbake: hob/builder: When you stop a build, Hob should tell you stopping is happening X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f40bfd2e5f91a3c699833f19cec435a9b897f4b5;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 Signed-off-by: Richard Purdie --- diff --git a/bitbake/lib/bb/ui/crumbs/builder.py b/bitbake/lib/bb/ui/crumbs/builder.py index b8471650306..e952aa82085 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): 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)