diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/onplay.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/apps/onplay.c b/apps/onplay.c index 37818b64e0..35e870debc 100644 --- a/apps/onplay.c +++ b/apps/onplay.c | |||
@@ -326,33 +326,33 @@ static int treeplaylist_callback(int action, | |||
326 | const struct menu_item_ex *this_item); | 326 | const struct menu_item_ex *this_item); |
327 | 327 | ||
328 | /* insert items */ | 328 | /* insert items */ |
329 | MENUITEM_FUNCTION(i_pl_item, 0, ID2P(LANG_INSERT), | 329 | MENUITEM_FUNCTION(i_pl_item, MENU_FUNC_USEPARAM, ID2P(LANG_INSERT), |
330 | playlist_insert_func, (intptr_t*)PLAYLIST_INSERT, | 330 | playlist_insert_func, (intptr_t*)PLAYLIST_INSERT, |
331 | treeplaylist_callback, Icon_Playlist); | 331 | treeplaylist_callback, Icon_Playlist); |
332 | MENUITEM_FUNCTION(i_first_pl_item, 0, ID2P(LANG_INSERT_FIRST), | 332 | MENUITEM_FUNCTION(i_first_pl_item, MENU_FUNC_USEPARAM, ID2P(LANG_INSERT_FIRST), |
333 | playlist_insert_func, (intptr_t*)PLAYLIST_INSERT_FIRST, | 333 | playlist_insert_func, (intptr_t*)PLAYLIST_INSERT_FIRST, |
334 | treeplaylist_wplayback_callback, Icon_Playlist); | 334 | treeplaylist_wplayback_callback, Icon_Playlist); |
335 | MENUITEM_FUNCTION(i_last_pl_item, 0, ID2P(LANG_INSERT_LAST), | 335 | MENUITEM_FUNCTION(i_last_pl_item, MENU_FUNC_USEPARAM, ID2P(LANG_INSERT_LAST), |
336 | playlist_insert_func, (intptr_t*)PLAYLIST_INSERT_LAST, | 336 | playlist_insert_func, (intptr_t*)PLAYLIST_INSERT_LAST, |
337 | treeplaylist_wplayback_callback, Icon_Playlist); | 337 | treeplaylist_wplayback_callback, Icon_Playlist); |
338 | MENUITEM_FUNCTION(i_shuf_pl_item, 0, ID2P(LANG_INSERT_SHUFFLED), | 338 | MENUITEM_FUNCTION(i_shuf_pl_item, MENU_FUNC_USEPARAM, ID2P(LANG_INSERT_SHUFFLED), |
339 | playlist_insert_func, (intptr_t*)PLAYLIST_INSERT_SHUFFLED, | 339 | playlist_insert_func, (intptr_t*)PLAYLIST_INSERT_SHUFFLED, |
340 | treeplaylist_callback, Icon_Playlist); | 340 | treeplaylist_callback, Icon_Playlist); |
341 | /* queue items */ | 341 | /* queue items */ |
342 | MENUITEM_FUNCTION(q_pl_item, 0, ID2P(LANG_QUEUE), | 342 | MENUITEM_FUNCTION(q_pl_item, MENU_FUNC_USEPARAM, ID2P(LANG_QUEUE), |
343 | playlist_queue_func, (intptr_t*)PLAYLIST_INSERT, | 343 | playlist_queue_func, (intptr_t*)PLAYLIST_INSERT, |
344 | treeplaylist_wplayback_callback, Icon_Playlist); | 344 | treeplaylist_wplayback_callback, Icon_Playlist); |
345 | MENUITEM_FUNCTION(q_first_pl_item, 0, ID2P(LANG_QUEUE_FIRST), | 345 | MENUITEM_FUNCTION(q_first_pl_item, MENU_FUNC_USEPARAM, ID2P(LANG_QUEUE_FIRST), |
346 | playlist_queue_func, (intptr_t*)PLAYLIST_INSERT_FIRST, | 346 | playlist_queue_func, (intptr_t*)PLAYLIST_INSERT_FIRST, |
347 | treeplaylist_wplayback_callback, Icon_Playlist); | 347 | treeplaylist_wplayback_callback, Icon_Playlist); |
348 | MENUITEM_FUNCTION(q_last_pl_item, 0, ID2P(LANG_QUEUE_LAST), | 348 | MENUITEM_FUNCTION(q_last_pl_item, MENU_FUNC_USEPARAM, ID2P(LANG_QUEUE_LAST), |
349 | playlist_queue_func, (intptr_t*)PLAYLIST_INSERT_LAST, | 349 | playlist_queue_func, (intptr_t*)PLAYLIST_INSERT_LAST, |
350 | treeplaylist_wplayback_callback, Icon_Playlist); | 350 | treeplaylist_wplayback_callback, Icon_Playlist); |
351 | MENUITEM_FUNCTION(q_shuf_pl_item, 0, ID2P(LANG_QUEUE_SHUFFLED), | 351 | MENUITEM_FUNCTION(q_shuf_pl_item, MENU_FUNC_USEPARAM, ID2P(LANG_QUEUE_SHUFFLED), |
352 | playlist_queue_func, (intptr_t*)PLAYLIST_INSERT_SHUFFLED, | 352 | playlist_queue_func, (intptr_t*)PLAYLIST_INSERT_SHUFFLED, |
353 | treeplaylist_wplayback_callback, Icon_Playlist); | 353 | treeplaylist_wplayback_callback, Icon_Playlist); |
354 | /* replace playlist */ | 354 | /* replace playlist */ |
355 | MENUITEM_FUNCTION(replace_pl_item, 0, ID2P(LANG_REPLACE), | 355 | MENUITEM_FUNCTION(replace_pl_item, MENU_FUNC_USEPARAM, ID2P(LANG_REPLACE), |
356 | playlist_insert_func, (intptr_t*)PLAYLIST_REPLACE, | 356 | playlist_insert_func, (intptr_t*)PLAYLIST_REPLACE, |
357 | treeplaylist_wplayback_callback, Icon_Playlist); | 357 | treeplaylist_wplayback_callback, Icon_Playlist); |
358 | /* others */ | 358 | /* others */ |