summaryrefslogtreecommitdiff
path: root/apps/onplay.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/onplay.c')
-rw-r--r--apps/onplay.c16
1 files changed, 10 insertions, 6 deletions
diff --git a/apps/onplay.c b/apps/onplay.c
index 009b375871..82a8bddae7 100644
--- a/apps/onplay.c
+++ b/apps/onplay.c
@@ -270,7 +270,8 @@ static int treeplaylist_callback(int action,
270 const struct menu_item_ex *this_item); 270 const struct menu_item_ex *this_item);
271 271
272/* insert items */ 272/* insert items */
273MENUITEM_FUNCTION(i_pl_item, MENU_FUNC_USEPARAM, ID2P(LANG_INSERT), 273MENUITEM_FUNCTION(i_pl_item, MENU_FUNC_USEPARAM | MENU_FUNC_HOTKEYABLE,
274 ID2P(LANG_INSERT),
274 playlist_insert_func, (intptr_t*)PLAYLIST_INSERT, 275 playlist_insert_func, (intptr_t*)PLAYLIST_INSERT,
275 NULL, Icon_Playlist); 276 NULL, Icon_Playlist);
276MENUITEM_FUNCTION(i_first_pl_item, MENU_FUNC_USEPARAM, ID2P(LANG_INSERT_FIRST), 277MENUITEM_FUNCTION(i_first_pl_item, MENU_FUNC_USEPARAM, ID2P(LANG_INSERT_FIRST),
@@ -959,10 +960,12 @@ MENUITEM_FUNCTION(view_cue_item, 0, ID2P(LANG_BROWSE_CUESHEET),
959 view_cue, NULL, view_cue_item_callback, Icon_NOICON); 960 view_cue, NULL, view_cue_item_callback, Icon_NOICON);
960 961
961/* CONTEXT_WPS items */ 962/* CONTEXT_WPS items */
962MENUITEM_FUNCTION(browse_id3_item, 0, ID2P(LANG_MENU_SHOW_ID3_INFO), 963MENUITEM_FUNCTION(browse_id3_item, MENU_FUNC_HOTKEYABLE,
964 ID2P(LANG_MENU_SHOW_ID3_INFO),
963 browse_id3, NULL, NULL, Icon_NOICON); 965 browse_id3, NULL, NULL, Icon_NOICON);
964#ifdef HAVE_PITCHSCREEN 966#ifdef HAVE_PITCHSCREEN
965MENUITEM_FUNCTION(pitch_screen_item, 0, ID2P(LANG_PITCH), 967MENUITEM_FUNCTION(pitch_screen_item, MENU_FUNC_HOTKEYABLE,
968 ID2P(LANG_PITCH),
966 gui_syncpitchscreen_run, NULL, NULL, Icon_Audio); 969 gui_syncpitchscreen_run, NULL, NULL, Icon_Audio);
967#endif 970#endif
968 971
@@ -976,9 +979,9 @@ MENUITEM_FUNCTION(clipboard_copy_item, 0, ID2P(LANG_COPY),
976 clipboard_copy, NULL, clipboard_callback, Icon_NOICON); 979 clipboard_copy, NULL, clipboard_callback, Icon_NOICON);
977MENUITEM_FUNCTION(clipboard_paste_item, 0, ID2P(LANG_PASTE), 980MENUITEM_FUNCTION(clipboard_paste_item, 0, ID2P(LANG_PASTE),
978 clipboard_paste, NULL, clipboard_callback, Icon_NOICON); 981 clipboard_paste, NULL, clipboard_callback, Icon_NOICON);
979MENUITEM_FUNCTION(delete_file_item, 0, ID2P(LANG_DELETE), 982MENUITEM_FUNCTION(delete_file_item, MENU_FUNC_HOTKEYABLE, ID2P(LANG_DELETE),
980 delete_file_dir, NULL, clipboard_callback, Icon_NOICON); 983 delete_file_dir, NULL, clipboard_callback, Icon_NOICON);
981MENUITEM_FUNCTION(delete_dir_item, 0, ID2P(LANG_DELETE_DIR), 984MENUITEM_FUNCTION(delete_dir_item, MENU_FUNC_HOTKEYABLE, ID2P(LANG_DELETE_DIR),
982 delete_file_dir, NULL, clipboard_callback, Icon_NOICON); 985 delete_file_dir, NULL, clipboard_callback, Icon_NOICON);
983MENUITEM_FUNCTION(create_dir_item, 0, ID2P(LANG_CREATE_DIR), 986MENUITEM_FUNCTION(create_dir_item, 0, ID2P(LANG_CREATE_DIR),
984 create_dir, NULL, clipboard_callback, Icon_NOICON); 987 create_dir, NULL, clipboard_callback, Icon_NOICON);
@@ -1000,7 +1003,8 @@ static bool onplay_load_plugin(void *param)
1000 return false; 1003 return false;
1001} 1004}
1002 1005
1003MENUITEM_FUNCTION(list_viewers_item, 0, ID2P(LANG_ONPLAY_OPEN_WITH), 1006MENUITEM_FUNCTION(list_viewers_item, MENU_FUNC_HOTKEYABLE,
1007 ID2P(LANG_ONPLAY_OPEN_WITH),
1004 list_viewers, NULL, clipboard_callback, Icon_NOICON); 1008 list_viewers, NULL, clipboard_callback, Icon_NOICON);
1005MENUITEM_FUNCTION(properties_item, MENU_FUNC_USEPARAM, ID2P(LANG_PROPERTIES), 1009MENUITEM_FUNCTION(properties_item, MENU_FUNC_USEPARAM, ID2P(LANG_PROPERTIES),
1006 onplay_load_plugin, (void *)"properties", 1010 onplay_load_plugin, (void *)"properties",