summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCristiana Voicu <cristiana.voicu@intel.com>2012-09-24 15:17:58 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-09-25 13:39:46 +0100
commita0bdb64a1847c56d7b6c3a37afac1fbff721d309 (patch)
tree4b19df5368aebbf14056e9a8a75a2819c3ab4911
parent0ab08f1539926446c7e3b1b297816af5cbadc3b5 (diff)
downloadpoky-a0bdb64a1847c56d7b6c3a37afac1fbff721d309.tar.gz
bitbake: hob/builddetailspage: change tooltips and remove a dialog from "Build stopped" message
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] (Bitbake rev: f5a21da2faf7ede56cf211b96dffd8aaa4b485b8) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rwxr-xr-xbitbake/lib/bb/ui/crumbs/builddetailspage.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/builddetailspage.py b/bitbake/lib/bb/ui/crumbs/builddetailspage.py
index a927c21c14..824dfedc59 100755
--- a/bitbake/lib/bb/ui/crumbs/builddetailspage.py
+++ b/bitbake/lib/bb/ui/crumbs/builddetailspage.py
@@ -289,7 +289,12 @@ class BuildDetailsPage (HobPage):
289 289
290 action_button = HobButton("Edit %s" % action) 290 action_button = HobButton("Edit %s" % action)
291 action_button.set_size_request(-1, 40) 291 action_button.set_size_request(-1, 40)
292 action_button.set_tooltip_text("Edit the %s parameters" % action) 292 if action == "image":
293 action_button.set_tooltip_text("Edit the image parameters")
294 elif action == "recipes":
295 action_button.set_tooltip_text("Edit the included recipes")
296 elif action == "packages":
297 action_button.set_tooltip_text("Edit the included packages")
293 action_button.connect('clicked', self.stop_primary_action_button_clicked_cb, action) 298 action_button.connect('clicked', self.stop_primary_action_button_clicked_cb, action)
294 build_stop_tab.attach(action_button, 4, 13, 6, 9) 299 build_stop_tab.attach(action_button, 4, 13, 6, 9)
295 300
@@ -392,7 +397,7 @@ class BuildDetailsPage (HobPage):
392 if "recipes" in action: 397 if "recipes" in action:
393 self.builder.show_recipes() 398 self.builder.show_recipes()
394 elif "packages" in action: 399 elif "packages" in action:
395 self.builder.show_packages() 400 self.builder.show_packages(ask=False)
396 elif "image" in action: 401 elif "image" in action:
397 self.builder.show_configuration() 402 self.builder.show_configuration()
398 403