Hi, I wanted to carry "Delete" menu item on top of the WPS context menu. I modified apps\onplay.c file as shown below then compiled it but "Delete" is still in the same place. How to reorder WPS menu?
static int onplaymenu_callback(int action,const struct menu_item_ex *this_item);
/* used when onplay() is called in the CONTEXT_WPS context */
MAKE_ONPLAYMENU( wps_onplay_menu, ID2P(LANG_ONPLAY_MENU_TITLE),
onplaymenu_callback, Icon_Audio,
&delete_file_item, &view_cue_item,
&wps_playlist_menu, &cat_playlist_menu,
&sound_settings, &playback_settings,
#ifdef HAVE_TAGCACHE
&rating_item,
#endif
&bookmark_menu,
#ifdef HAVE_PICTUREFLOW_INTEGRATION
&pictureflow_item,
#endif
&browse_id3_item, &list_viewers_item,
#ifdef HAVE_PITCHCONTROL
&pitch_screen_item,
#endif
);