mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27:39 -04:00
Move the 'manage settings' option onto the main menu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7011 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
febd9750f1
commit
d0ec0cec10
3 changed files with 6 additions and 3 deletions
|
@ -368,7 +368,7 @@ bool main_menu(void)
|
|||
int i = 0;
|
||||
|
||||
/* main menu */
|
||||
struct menu_item items[9];
|
||||
struct menu_item items[10];
|
||||
|
||||
items[i].desc = ID2P(LANG_BOOKMARK_MENU_RECENT_BOOKMARKS);
|
||||
items[i++].function = bookmark_mrb_load;
|
||||
|
@ -379,6 +379,9 @@ bool main_menu(void)
|
|||
items[i].desc = ID2P(LANG_GENERAL_SETTINGS);
|
||||
items[i++].function = settings_menu;
|
||||
|
||||
items[i].desc = ID2P(LANG_MANAGE_MENU);
|
||||
items[i++].function = manage_settings_menu;
|
||||
|
||||
#ifdef CONFIG_TUNER
|
||||
if(radio_hardware_present()) {
|
||||
items[i].desc = ID2P(LANG_FM_RADIO);
|
||||
|
|
|
@ -1480,7 +1480,7 @@ static bool time_settings_menu(void)
|
|||
}
|
||||
#endif
|
||||
|
||||
static bool manage_settings_menu(void)
|
||||
bool manage_settings_menu(void)
|
||||
{
|
||||
int m;
|
||||
bool result;
|
||||
|
@ -1542,7 +1542,6 @@ static bool system_settings_menu(void)
|
|||
#ifdef HAVE_CHARGING
|
||||
{ ID2P(LANG_CAR_ADAPTER_MODE), car_adapter_mode },
|
||||
#endif
|
||||
{ ID2P(LANG_MANAGE_MENU), manage_settings_menu },
|
||||
};
|
||||
|
||||
m=menu_init( items, sizeof(items) / sizeof(*items), NULL,
|
||||
|
|
|
@ -22,5 +22,6 @@
|
|||
#include "menu.h"
|
||||
|
||||
bool settings_menu(void);
|
||||
bool manage_settings_menu(void);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue