Index: apps/onplay.c =================================================================== --- apps/onplay.c (revision 25842) +++ apps/onplay.c (working copy) @@ -271,7 +271,8 @@ const struct menu_item_ex *this_item); /* insert items */ -MENUITEM_FUNCTION(i_pl_item, MENU_FUNC_USEPARAM, ID2P(LANG_INSERT), +MENUITEM_FUNCTION(i_pl_item, MENU_FUNC_USEPARAM | MENU_FUNC_HOTKEYABLE, + ID2P(LANG_INSERT), playlist_insert_func, (intptr_t*)PLAYLIST_INSERT, NULL, Icon_Playlist); MENUITEM_FUNCTION(i_first_pl_item, MENU_FUNC_USEPARAM, ID2P(LANG_INSERT_FIRST), @@ -960,10 +961,12 @@ view_cue, NULL, view_cue_item_callback, Icon_NOICON); /* CONTEXT_WPS items */ -MENUITEM_FUNCTION(browse_id3_item, 0, ID2P(LANG_MENU_SHOW_ID3_INFO), +MENUITEM_FUNCTION(browse_id3_item, MENU_FUNC_HOTKEYABLE, + ID2P(LANG_MENU_SHOW_ID3_INFO), browse_id3, NULL, NULL, Icon_NOICON); #ifdef HAVE_PITCHSCREEN -MENUITEM_FUNCTION(pitch_screen_item, 0, ID2P(LANG_PITCH), +MENUITEM_FUNCTION(pitch_screen_item, MENU_FUNC_HOTKEYABLE, + ID2P(LANG_PITCH), gui_syncpitchscreen_run, NULL, NULL, Icon_Audio); #endif @@ -977,9 +980,9 @@ clipboard_copy, NULL, clipboard_callback, Icon_NOICON); MENUITEM_FUNCTION(clipboard_paste_item, 0, ID2P(LANG_PASTE), clipboard_paste, NULL, clipboard_callback, Icon_NOICON); -MENUITEM_FUNCTION(delete_file_item, 0, ID2P(LANG_DELETE), +MENUITEM_FUNCTION(delete_file_item, MENU_FUNC_HOTKEYABLE, ID2P(LANG_DELETE), delete_file_dir, NULL, clipboard_callback, Icon_NOICON); -MENUITEM_FUNCTION(delete_dir_item, 0, ID2P(LANG_DELETE_DIR), +MENUITEM_FUNCTION(delete_dir_item, MENU_FUNC_HOTKEYABLE, ID2P(LANG_DELETE_DIR), delete_file_dir, NULL, clipboard_callback, Icon_NOICON); MENUITEM_FUNCTION(create_dir_item, 0, ID2P(LANG_CREATE_DIR), create_dir, NULL, clipboard_callback, Icon_NOICON); @@ -1001,7 +1004,8 @@ return false; } -MENUITEM_FUNCTION(list_viewers_item, 0, ID2P(LANG_ONPLAY_OPEN_WITH), +MENUITEM_FUNCTION(list_viewers_item, MENU_FUNC_HOTKEYABLE, + ID2P(LANG_ONPLAY_OPEN_WITH), list_viewers, NULL, clipboard_callback, Icon_NOICON); MENUITEM_FUNCTION(properties_item, MENU_FUNC_USEPARAM, ID2P(LANG_PROPERTIES), onplay_load_plugin, (void *)"properties", Index: apps/gui/icon.h =================================================================== --- apps/gui/icon.h (revision 25842) +++ apps/gui/icon.h (working copy) @@ -68,6 +68,7 @@ Icon_file_view_menu, Icon_EQ, Icon_Rockbox, + Icon_Hotkey, Icon_Last_Themeable, }; Index: apps/menu.c =================================================================== --- apps/menu.c (revision 25842) +++ apps/menu.c (working copy) @@ -153,6 +153,11 @@ else if (menu->flags&MENU_DYNAMIC_DESC) menu_icon = menu->menu_get_name_and_icon->icon_id; +#ifdef HAVE_HOTKEY + if (hotkey_settable_menu && (menu->flags&MENU_FUNC_HOTKEYABLE)) + menu_icon = Icon_Hotkey; +#endif + if (menu_icon == Icon_NOICON) { switch (menu->flags&MENU_TYPE_MASK) Index: apps/menus/settings_menu.c =================================================================== --- apps/menus/settings_menu.c (revision 25842) +++ apps/menus/settings_menu.c (working copy) @@ -443,7 +443,7 @@ MENUITEM_FUNCTION(hotkey_reset, 0, ID2P(LANG_RESET), (int(*)(void))reset_hotkey_settings, NULL, NULL, Icon_NOICON); -MAKE_MENU(hotkey_menu, ID2P(LANG_HOTKEY), 0, Icon_NOICON, +MAKE_MENU(hotkey_menu, ID2P(LANG_HOTKEY), 0, Icon_Hotkey, &hotkey_view, &hotkey_reset); #endif /*have_hotkey */ /* HOTKEY MENU */ Index: apps/menus/playlist_menu.c =================================================================== --- apps/menus/playlist_menu.c (revision 25842) +++ apps/menus/playlist_menu.c (working copy) @@ -68,7 +68,8 @@ MENUITEM_FUNCTION(create_playlist_item, 0, ID2P(LANG_CREATE_PLAYLIST), (int(*)(void))create_playlist, NULL, NULL, Icon_NOICON); -MENUITEM_FUNCTION(view_cur_playlist, MENU_FUNC_CHECK_RETVAL, ID2P(LANG_VIEW_DYNAMIC_PLAYLIST), +MENUITEM_FUNCTION(view_cur_playlist, MENU_FUNC_CHECK_RETVAL | MENU_FUNC_HOTKEYABLE, + ID2P(LANG_VIEW_DYNAMIC_PLAYLIST), (int(*)(void))playlist_view_, NULL, NULL, Icon_NOICON); MENUITEM_FUNCTION(save_playlist, MENU_FUNC_USEPARAM, ID2P(LANG_SAVE_DYNAMIC_PLAYLIST), (int(*)(void*))save_playlist_screen, Index: apps/menu.h =================================================================== --- apps/menu.h (revision 25842) +++ apps/menu.h (working copy) @@ -61,6 +61,7 @@ /* Flags for MT_FUNCTION_CALL */ #define MENU_FUNC_USEPARAM 0x80 #define MENU_FUNC_CHECK_RETVAL 0x100 +#define MENU_FUNC_HOTKEYABLE 0x200 #define MENU_COUNT_MASK 0xFFF #define MENU_COUNT_SHIFT 12 Index: apps/bitmaps/remote_native/remote_default_icons.6x8x1.bmp =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Index: apps/bitmaps/remote_native/remote_default_icons.6x8x2.bmp =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Index: apps/bitmaps/native/default_icons.6x8x16.bmp =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Index: apps/bitmaps/native/default_icons.6x8x1.bmp =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Index: apps/bitmaps/native/default_icons.6x8x2.bmp =================================================================== Cannot display: file marked as a binary type. svn:mime-type = image/bmp Index: apps/player/icons.c =================================================================== --- apps/player/icons.c (revision 25842) +++ apps/player/icons.c (working copy) @@ -77,6 +77,7 @@ [Icon_file_view_menu] = , [Icon_EQ] = , [Icon_Rockbox] = , + [Icon_Hotkey] = , */ }; Index: icons/tango_small_mono.bmp =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Index: icons/tango_small.bmp =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream