Patchwork [bitbake-devel] hob/builddetailspage: change tooltips and remove a dialog from "Build stopped" message

login
register
mail settings
Submitter Cristiana Voicu
Date Sept. 24, 2012, 12:17 p.m.
Message ID <1348489078-17881-1-git-send-email-cristiana.voicu@intel.com>
Download mbox | patch
Permalink /patch/37113/
State New
Headers show

Comments

Cristiana Voicu - Sept. 24, 2012, 12:17 p.m.
When you stop a build, a "Build stopped" message appears. I have changed 2 tooltips and
also eliminate the alert that comes up when you click 'Edit packages'.

[YOCTO #3160]
Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
---
 bitbake/lib/bb/ui/crumbs/builddetailspage.py |    9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

Patch

diff --git a/bitbake/lib/bb/ui/crumbs/builddetailspage.py b/bitbake/lib/bb/ui/crumbs/builddetailspage.py
index 85f65b7..42cc50d 100755
--- a/bitbake/lib/bb/ui/crumbs/builddetailspage.py
+++ b/bitbake/lib/bb/ui/crumbs/builddetailspage.py
@@ -289,7 +289,12 @@  class BuildDetailsPage (HobPage):
 
         action_button = HobButton("Edit %s" % action)
         action_button.set_size_request(-1, 40)
-        action_button.set_tooltip_text("Edit the %s parameters" % action)
+        if action == "image":
+            action_button.set_tooltip_text("Edit the image parameters")
+        elif action == "recipes":
+            action_button.set_tooltip_text("Edit the included recipes")
+        elif action == "packages":
+            action_button.set_tooltip_text("Edit the included packages")
         action_button.connect('clicked', self.stop_primary_action_button_clicked_cb, action)
         build_stop_tab.attach(action_button, 4, 13, 6, 9)
 
@@ -392,7 +397,7 @@  class BuildDetailsPage (HobPage):
         if "recipes" in action:
             self.builder.show_recipes()
         elif "packages" in action:
-            self.builder.show_packages()
+            self.builder.show_packages(ask=False)
         elif "image" in action:
             self.builder.show_configuration()