summaryrefslogtreecommitdiff
path: root/apps/main_menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/main_menu.c')
-rw-r--r--apps/main_menu.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/apps/main_menu.c b/apps/main_menu.c
index f76c211f0a..262dd61a20 100644
--- a/apps/main_menu.c
+++ b/apps/main_menu.c
@@ -241,6 +241,11 @@ static bool plugin_browse(void)
241 return rockbox_browse(PLUGIN_DIR, SHOW_PLUGINS); 241 return rockbox_browse(PLUGIN_DIR, SHOW_PLUGINS);
242} 242}
243 243
244static bool custom_theme_browse(void)
245{
246 return rockbox_browse(THEME_DIR, SHOW_CFG);
247}
248
244#ifdef HAVE_RECORDING 249#ifdef HAVE_RECORDING
245 250
246static bool recording_settings(void) 251static bool recording_settings(void)
@@ -311,7 +316,7 @@ bool main_menu(void)
311 int i = 0; 316 int i = 0;
312 317
313 /* main menu */ 318 /* main menu */
314 struct menu_item items[10]; 319 struct menu_item items[11];
315 320
316 items[i].desc = ID2P(LANG_BOOKMARK_MENU_RECENT_BOOKMARKS); 321 items[i].desc = ID2P(LANG_BOOKMARK_MENU_RECENT_BOOKMARKS);
317 items[i++].function = bookmark_mrb_load; 322 items[i++].function = bookmark_mrb_load;
@@ -325,6 +330,9 @@ bool main_menu(void)
325 items[i].desc = ID2P(LANG_MANAGE_MENU); 330 items[i].desc = ID2P(LANG_MANAGE_MENU);
326 items[i++].function = manage_settings_menu; 331 items[i++].function = manage_settings_menu;
327 332
333 items[i].desc = ID2P(LANG_CUSTOM_THEME);
334 items[i++].function = custom_theme_browse;
335
328#ifdef CONFIG_TUNER 336#ifdef CONFIG_TUNER
329 if(radio_hardware_present()) { 337 if(radio_hardware_present()) {
330 items[i].desc = ID2P(LANG_FM_RADIO); 338 items[i].desc = ID2P(LANG_FM_RADIO);