summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/ui/crumbs/imagedetailspage.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/ui/crumbs/imagedetailspage.py')
-rwxr-xr-xbitbake/lib/bb/ui/crumbs/imagedetailspage.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/imagedetailspage.py b/bitbake/lib/bb/ui/crumbs/imagedetailspage.py
index ed8c7ac963..146feb03ee 100755
--- a/bitbake/lib/bb/ui/crumbs/imagedetailspage.py
+++ b/bitbake/lib/bb/ui/crumbs/imagedetailspage.py
@@ -249,12 +249,12 @@ class ImageDetailsPage (HobPage):
249 view_files_button = HobAltButton("View files") 249 view_files_button = HobAltButton("View files")
250 view_files_button.connect("clicked", self.view_files_clicked_cb, image_addr) 250 view_files_button.connect("clicked", self.view_files_clicked_cb, image_addr)
251 view_files_button.set_tooltip_text("Open the directory containing the image files") 251 view_files_button.set_tooltip_text("Open the directory containing the image files")
252 view_log_button = None 252 open_log_button = None
253 if log_file: 253 if log_file:
254 view_log_button = HobAltButton("View log") 254 open_log_button = HobAltButton("Open log")
255 view_log_button.connect("clicked", self.view_log_clicked_cb, log_file) 255 open_log_button.connect("clicked", self.open_log_clicked_cb, log_file)
256 view_log_button.set_tooltip_text("Open the building log files") 256 open_log_button.set_tooltip_text("Open the build's log file")
257 self.image_detail = self.DetailBox(varlist=varlist, vallist=vallist, button=view_files_button, button2=view_log_button) 257 self.image_detail = self.DetailBox(varlist=varlist, vallist=vallist, button=view_files_button, button2=open_log_button)
258 self.box_group_area.pack_start(self.image_detail, expand=False, fill=True) 258 self.box_group_area.pack_start(self.image_detail, expand=False, fill=True)
259 259
260 # The default kernel box for the qemu images 260 # The default kernel box for the qemu images
@@ -333,7 +333,7 @@ class ImageDetailsPage (HobPage):
333 def view_files_clicked_cb(self, button, image_addr): 333 def view_files_clicked_cb(self, button, image_addr):
334 subprocess.call("xdg-open /%s" % image_addr, shell=True) 334 subprocess.call("xdg-open /%s" % image_addr, shell=True)
335 335
336 def view_log_clicked_cb(self, button, log_file): 336 def open_log_clicked_cb(self, button, log_file):
337 if log_file: 337 if log_file:
338 os.system("xdg-open /%s" % log_file) 338 os.system("xdg-open /%s" % log_file)
339 339