Now the menu items that can't be chosen are of type MENU_ITEM_NO_CHOICE.

Fixed a typo.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8114 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2004-06-22 01:14:45 +00:00
parent c668dff52c
commit bc8add5da8

View File

@ -309,7 +309,9 @@ add_boot_volume_menu(Directory *bootVolume)
menu->AddSeparatorItem(); menu->AddSeparatorItem();
menu->AddItem(item = new MenuItem("Rescan volumes")); menu->AddItem(item = new MenuItem("Rescan volumes"));
menu->AddItem(item = new MenuItem("Return to main manu")); item->SetType(MENU_ITEM_NO_CHOICE);
menu->AddItem(item = new MenuItem("Return to main menu"));
item->SetType(MENU_ITEM_NO_CHOICE);
return menu; return menu;
} }