Rockbox Technical Forums

Rockbox Development => Starting Development and Compiling => Topic started by: seamoon2 on August 18, 2015, 07:35:19 PM

Title: Changing WPS Context Menu Order for Sansa Clip Zip
Post by: seamoon2 on August 18, 2015, 07:35:19 PM
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?

Code: [Select]
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
         );
Title: Re: Changing WPS Context Menu Order for Sansa Clip Zip
Post by: __builtin on August 29, 2015, 10:45:09 AM
Just to make sure, did you install the new build on the device?