summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorConstantin Musca <constantinx.musca@intel.com>2012-09-13 14:33:34 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-09-14 09:50:35 +0100
commit293764e43502448d56b7c2fdd547ef844094ef26 (patch)
tree55ddd69715e9facb86d3d6a194a5904d338f73cb /bitbake
parent5b53671f270f5ee7edf2acc5a4529c7433fdfc92 (diff)
downloadpoky-293764e43502448d56b7c2fdd547ef844094ef26.tar.gz
bitbake: hob/builddetailspage: Add tooltips to the build failed notification
[YOCTO #3046] (Bitbake rev: 69ad4ebd1379e804d0753bd4ee704b602b5efcc4) Signed-off-by: Constantin Musca <constantinx.musca@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rwxr-xr-xbitbake/lib/bb/ui/crumbs/builddetailspage.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/builddetailspage.py b/bitbake/lib/bb/ui/crumbs/builddetailspage.py
index 4d2d947d21..8d76ade6a4 100755
--- a/bitbake/lib/bb/ui/crumbs/builddetailspage.py
+++ b/bitbake/lib/bb/ui/crumbs/builddetailspage.py
@@ -230,18 +230,21 @@ class BuildDetailsPage (HobPage):
230 # create button 'Edit packages' 230 # create button 'Edit packages'
231 action_button = HobButton(primary_action) 231 action_button = HobButton(primary_action)
232 action_button.set_size_request(-1, 40) 232 action_button.set_size_request(-1, 40)
233 action_button.set_tooltip_text("Edit the %s parameters" % actions)
233 action_button.connect('clicked', self.failure_primary_action_button_clicked_cb, primary_action) 234 action_button.connect('clicked', self.failure_primary_action_button_clicked_cb, primary_action)
234 build_fail_tab.attach(action_button, 4, 13, 9, 12) 235 build_fail_tab.attach(action_button, 4, 13, 9, 12)
235 236
236 if log_file: 237 if log_file:
237 open_log_button = HobAltButton("Open log") 238 open_log_button = HobAltButton("Open log")
238 open_log_button.set_relief(gtk.RELIEF_HALF) 239 open_log_button.set_relief(gtk.RELIEF_HALF)
240 open_log_button.set_tooltip_text("Open the build's log file")
239 open_log_button.connect('clicked', self.failure_open_log_button_clicked_cb, log_file) 241 open_log_button.connect('clicked', self.failure_open_log_button_clicked_cb, log_file)
240 build_fail_tab.attach(open_log_button, 14, 23, 9, 12) 242 build_fail_tab.attach(open_log_button, 14, 23, 9, 12)
241 243
242 attach_pos = (24 if log_file else 14) 244 attach_pos = (24 if log_file else 14)
243 file_bug_button = HobAltButton('File a bug') 245 file_bug_button = HobAltButton('File a bug')
244 file_bug_button.set_relief(gtk.RELIEF_HALF) 246 file_bug_button.set_relief(gtk.RELIEF_HALF)
247 file_bug_button.set_tooltip_text("Open the Yocto Project bug tracking website")
245 file_bug_button.connect('clicked', self.failure_activate_file_bug_link_cb) 248 file_bug_button.connect('clicked', self.failure_activate_file_bug_link_cb)
246 build_fail_tab.attach(file_bug_button, attach_pos, attach_pos + 9, 9, 12) 249 build_fail_tab.attach(file_bug_button, attach_pos, attach_pos + 9, 9, 12)
247 250