ui/hob: change wording in build complete dialog

The 'View Log' button is potentially confusing to existing users of the
system who may be expecting to be shown the on disk logs of the build.
Instead use 'View Messages'.

Addresses [YOCTO #1222]

(Bitbake rev: 105bfe3562235fb586be4b4179bb34b2e94ef234)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Joshua Lock 2011-07-18 16:23:35 -07:00 committed by Richard Purdie
parent 40f0e6dbd4
commit 9e6f220a54
1 changed files with 2 additions and 2 deletions

View File

@ -411,13 +411,13 @@ class MainWindow (gtk.Window):
for f in self.files_to_clean:
os.remove(f)
lbl = "<b>Build completed</b>\n\nClick 'Edit Image' to start another build or 'View Log' to view the build log."
lbl = "<b>Build completed</b>\n\nClick 'Edit Image' to start another build or 'View Messages' to view the messages output during the build."
if self.handler.building == "image" and self.build_succeeded:
deploy = self.handler.get_image_deploy_dir()
lbl = lbl + "\n<a href=\"file://%s\" title=\"%s\">Browse folder of built images</a>." % (deploy, deploy)
dialog = CrumbsDialog(self, lbl)
dialog.add_button("View Log", gtk.RESPONSE_CANCEL)
dialog.add_button("View Messages", gtk.RESPONSE_CANCEL)
dialog.add_button("Edit Image", gtk.RESPONSE_OK)
response = dialog.run()
dialog.destroy()