* Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33952 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2004-2007, Axel Dörfler, [email protected]. All rights reserved.
|
* Copyright 2004-2009, Axel Dörfler, [email protected].
|
||||||
* Distributed under the terms of the MIT License.
|
* Distributed under the terms of the MIT License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -38,8 +38,9 @@ platform_add_menus(Menu *menu)
|
|||||||
menu->AddItem(item = new(nothrow) MenuItem("Disable APM"));
|
menu->AddItem(item = new(nothrow) MenuItem("Disable APM"));
|
||||||
item->SetType(MENU_ITEM_MARKABLE);
|
item->SetType(MENU_ITEM_MARKABLE);
|
||||||
item->SetData(B_SAFEMODE_DISABLE_APM);
|
item->SetData(B_SAFEMODE_DISABLE_APM);
|
||||||
item->SetHelpText("Disables Advanced Power Management hardware support, "
|
item->SetHelpText("Disables Advanced Power Management hardware "
|
||||||
"overriding the APM setting in the kernel settings file.");
|
"support, overriding the APM setting in the kernel settings "
|
||||||
|
"file.");
|
||||||
|
|
||||||
menu->AddItem(item = new(nothrow) MenuItem("Disable ACPI"));
|
menu->AddItem(item = new(nothrow) MenuItem("Disable ACPI"));
|
||||||
item->SetType(MENU_ITEM_MARKABLE);
|
item->SetType(MENU_ITEM_MARKABLE);
|
||||||
@@ -47,15 +48,15 @@ platform_add_menus(Menu *menu)
|
|||||||
item->SetHelpText("Disables Advanced Configuration and Power "
|
item->SetHelpText("Disables Advanced Configuration and Power "
|
||||||
"Interface hardware support, overriding the ACPI setting "
|
"Interface hardware support, overriding the ACPI setting "
|
||||||
"in the kernel settings file.");
|
"in the kernel settings file.");
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
platform_update_menu_item(Menu *menu, MenuItem *item)
|
platform_update_menu_item(Menu *menu, MenuItem *item)
|
||||||
{
|
{
|
||||||
platform_generic_update_text_menu_item(menu, item);
|
platform_generic_update_text_menu_item(menu, item);
|
||||||
|
|||||||
Reference in New Issue
Block a user