mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
Give most of the items in the main menu a context menu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13126 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
88c05bd3c1
commit
f9fb49284e
3 changed files with 47 additions and 11 deletions
|
@ -477,6 +477,12 @@ int do_menu(const struct menu_item_ex *start_menu, int *start_selected)
|
|||
{
|
||||
list_stop_handler();
|
||||
}
|
||||
else if (action == ACTION_STD_CONTEXT &&
|
||||
menu == &root_menu_)
|
||||
{
|
||||
ret = GO_TO_ROOTITEM_CONTEXT;
|
||||
done = true;
|
||||
}
|
||||
else if (action == ACTION_STD_MENU)
|
||||
{
|
||||
if ((menu->flags&MENU_TYPE_MASK) == MT_OLD_MENU)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue