diff options
Diffstat (limited to 'apps/root_menu.c')
-rw-r--r-- | apps/root_menu.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/root_menu.c b/apps/root_menu.c index 1e9924fb44..e78c02759b 100644 --- a/apps/root_menu.c +++ b/apps/root_menu.c | |||
@@ -37,6 +37,7 @@ | |||
37 | #include "power.h" | 37 | #include "power.h" |
38 | #include "talk.h" | 38 | #include "talk.h" |
39 | #include "audio.h" | 39 | #include "audio.h" |
40 | #include "shortcuts.h" | ||
40 | 41 | ||
41 | #ifdef HAVE_HOTSWAP | 42 | #ifdef HAVE_HOTSWAP |
42 | #include "storage.h" | 43 | #include "storage.h" |
@@ -415,12 +416,16 @@ static const struct root_items items[] = { | |||
415 | &playlist_options }, | 416 | &playlist_options }, |
416 | [GO_TO_PLAYLIST_VIEWER] = { playlist_view, NULL, &playlist_options }, | 417 | [GO_TO_PLAYLIST_VIEWER] = { playlist_view, NULL, &playlist_options }, |
417 | [GO_TO_SYSTEM_SCREEN] = { miscscrn, &info_menu, &system_menu }, | 418 | [GO_TO_SYSTEM_SCREEN] = { miscscrn, &info_menu, &system_menu }, |
419 | [GO_TO_SHORTCUTMENU] = { do_shortcut_menu, NULL, NULL }, | ||
418 | 420 | ||
419 | }; | 421 | }; |
420 | static const int nb_items = sizeof(items)/sizeof(*items); | 422 | static const int nb_items = sizeof(items)/sizeof(*items); |
421 | 423 | ||
422 | static int item_callback(int action, const struct menu_item_ex *this_item) ; | 424 | static int item_callback(int action, const struct menu_item_ex *this_item) ; |
423 | 425 | ||
426 | MENUITEM_RETURNVALUE(shortcut_menu, ID2P(LANG_SHORTCUTS), GO_TO_SHORTCUTMENU, | ||
427 | NULL, Icon_Bookmark); | ||
428 | |||
424 | MENUITEM_RETURNVALUE(file_browser, ID2P(LANG_DIR_BROWSER), GO_TO_FILEBROWSER, | 429 | MENUITEM_RETURNVALUE(file_browser, ID2P(LANG_DIR_BROWSER), GO_TO_FILEBROWSER, |
425 | NULL, Icon_file_view_menu); | 430 | NULL, Icon_file_view_menu); |
426 | #ifdef HAVE_TAGCACHE | 431 | #ifdef HAVE_TAGCACHE |
@@ -492,6 +497,7 @@ MAKE_MENU(root_menu_, ID2P(LANG_ROCKBOX_TITLE), | |||
492 | #if CONFIG_KEYPAD == PLAYER_PAD | 497 | #if CONFIG_KEYPAD == PLAYER_PAD |
493 | ,&do_shutdown_item | 498 | ,&do_shutdown_item |
494 | #endif | 499 | #endif |
500 | ,&shortcut_menu | ||
495 | ); | 501 | ); |
496 | 502 | ||
497 | static int item_callback(int action, const struct menu_item_ex *this_item) | 503 | static int item_callback(int action, const struct menu_item_ex *this_item) |