Boot options: add help text to state selection

To indicate this is a menu you can enter to select a previous
state to boot. Also rename "Latest version" to "Latest state" as
that is more correct.
Thanks waddlesplash for pointers.

Fixes #14362
This commit is contained in:
Humdinger
2018-08-14 21:11:16 +02:00
parent 1742c769aa
commit deeaee6fc9
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -1211,6 +1211,8 @@ add_boot_volume_item(Menu* menu, Directory* volume, const char* name)
}
if (subMenu != NULL && subMenu->CountItems() > 1) {
item->SetHelpText(
"Enter to choose a different state to boot");
item->SetSubmenu(subMenu);
} else {
delete subMenu;
+1 -1
View File
@@ -104,7 +104,7 @@ PackageVolumeState::Unset()
const char*
PackageVolumeState::DisplayName() const
{
return fDisplayName != NULL ? fDisplayName : "Latest version";
return fDisplayName != NULL ? fDisplayName : "Latest state";
}