summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbitbake/lib/bb/ui/crumbs/builder.py2
-rw-r--r--bitbake/lib/bb/ui/crumbs/progressbar.py5
2 files changed, 6 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/builder.py b/bitbake/lib/bb/ui/crumbs/builder.py
index d417e1b214..b1ddf12cb1 100755
--- a/bitbake/lib/bb/ui/crumbs/builder.py
+++ b/bitbake/lib/bb/ui/crumbs/builder.py
@@ -1492,7 +1492,7 @@ class Builder(gtk.Window):
1492 if response != gtk.RESPONSE_CANCEL: 1492 if response != gtk.RESPONSE_CANCEL:
1493 self.stopping = True 1493 self.stopping = True
1494 if response == gtk.RESPONSE_OK: 1494 if response == gtk.RESPONSE_OK:
1495 self.build_details_page.progress_bar.set_title("Stopping the build...") 1495 self.build_details_page.progress_bar.set_stop_title("Stopping the build....")
1496 self.build_details_page.progress_bar.set_rcstyle("stop") 1496 self.build_details_page.progress_bar.set_rcstyle("stop")
1497 self.cancel_build_sync() 1497 self.cancel_build_sync()
1498 elif response == gtk.RESPONSE_YES: 1498 elif response == gtk.RESPONSE_YES:
diff --git a/bitbake/lib/bb/ui/crumbs/progressbar.py b/bitbake/lib/bb/ui/crumbs/progressbar.py
index f75818ac76..3e2c660e4a 100644
--- a/bitbake/lib/bb/ui/crumbs/progressbar.py
+++ b/bitbake/lib/bb/ui/crumbs/progressbar.py
@@ -43,6 +43,11 @@ class HobProgressBar (gtk.ProgressBar):
43 text += " %.0f%%" % self.percentage 43 text += " %.0f%%" % self.percentage
44 self.set_text(text) 44 self.set_text(text)
45 45
46 def set_stop_title(self, text=None):
47 if not text:
48 text = ""
49 self.set_text(text)
50
46 def reset(self): 51 def reset(self):
47 self.set_fraction(0) 52 self.set_fraction(0)
48 self.set_text("") 53 self.set_text("")