From 7d13c0c4eb594b125413cd3d91e7a8274a8b03c3 Mon Sep 17 00:00:00 2001 From: Christian Soffke Date: Sun, 27 Nov 2022 23:58:44 +0100 Subject: Rename "Playing Next..." menu items & hide Queue/Shuffle "Play Next" instead of "Insert Next" "Add" instead of "Insert" "Play Last" instead of "Insert Last" "Add Shuffled" instead of "Insert Shuffled" "Play Last Shuffled" instead of "Insert Last Shuffled" -"Queue" items hidden by default - Shuffled options hidden by default (Both can be enabled in options) Resulting default menu: Playing Next... Play Next Add Play Last Play Change-Id: Ib0c07a8077ab4b10c2dbc7af33516adcd0d4b83a --- apps/onplay.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'apps/onplay.c') diff --git a/apps/onplay.c b/apps/onplay.c index 415cc05be8..190f67d3ed 100644 --- a/apps/onplay.c +++ b/apps/onplay.c @@ -626,19 +626,19 @@ static int treeplaylist_callback(int action, struct gui_synclist *this_list); /* insert items */ -MENUITEM_FUNCTION_W_PARAM(i_pl_item, 0, ID2P(LANG_INSERT), +MENUITEM_FUNCTION_W_PARAM(i_pl_item, 0, ID2P(LANG_ADD), add_to_playlist, &addtopl_insert, treeplaylist_callback, Icon_Playlist); -MENUITEM_FUNCTION_W_PARAM(i_first_pl_item, 0, ID2P(LANG_INSERT_FIRST), +MENUITEM_FUNCTION_W_PARAM(i_first_pl_item, 0, ID2P(LANG_PLAY_NEXT), add_to_playlist, &addtopl_insert_first, treeplaylist_callback, Icon_Playlist); -MENUITEM_FUNCTION_W_PARAM(i_last_pl_item, 0, ID2P(LANG_INSERT_LAST), +MENUITEM_FUNCTION_W_PARAM(i_last_pl_item, 0, ID2P(LANG_PLAY_LAST), add_to_playlist, &addtopl_insert_last, treeplaylist_callback, Icon_Playlist); -MENUITEM_FUNCTION_W_PARAM(i_shuf_pl_item, 0, ID2P(LANG_INSERT_SHUFFLED), +MENUITEM_FUNCTION_W_PARAM(i_shuf_pl_item, 0, ID2P(LANG_ADD_SHUFFLED), add_to_playlist, &addtopl_insert_shuf, treeplaylist_callback, Icon_Playlist); -MENUITEM_FUNCTION_W_PARAM(i_last_shuf_pl_item, 0, ID2P(LANG_INSERT_LAST_SHUFFLED), +MENUITEM_FUNCTION_W_PARAM(i_last_shuf_pl_item, 0, ID2P(LANG_PLAY_LAST_SHUFFLED), add_to_playlist, &addtopl_insert_last_shuf, treeplaylist_callback, Icon_Playlist); /* queue items */ @@ -661,10 +661,10 @@ MENUITEM_FUNCTION_W_PARAM(q_last_shuf_pl_item, 0, ID2P(LANG_QUEUE_LAST_SHUFFLED) /* queue submenu */ MAKE_ONPLAYMENU(queue_menu, ID2P(LANG_QUEUE_MENU), treeplaylist_callback, Icon_Playlist, - &q_pl_item, &q_first_pl_item, - &q_last_pl_item, + &q_pl_item, &q_shuf_pl_item, + &q_last_pl_item, &q_last_shuf_pl_item); /* replace playlist */ @@ -680,15 +680,15 @@ MAKE_ONPLAYMENU(tree_playlist_menu, ID2P(LANG_PLAYING_NEXT), treeplaylist_callback, Icon_Playlist, /* insert */ - &i_pl_item, &i_first_pl_item, + &i_pl_item, &i_last_pl_item, &i_shuf_pl_item, &i_last_shuf_pl_item, /* queue */ - &q_pl_item, &q_first_pl_item, + &q_pl_item, &q_last_pl_item, &q_shuf_pl_item, &q_last_shuf_pl_item, -- cgit v1.2.3