This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#6718 - Customize the order of the entries in the main menu
|
DetailsHere is make take to make the order of the entries in the main menu customizable. Only the order may be changed, key shortcuts etc. is not changed.
The solution is a bit clumsy (if not ugly). To change the order of the entries, create a text file named "main_menu.mnu" in the folder "/.rockbox". In this file, place the following lines in the order you'd like to have the entries in the main menu: bookmarks files database now playing settings recording fm radio playlists plugins system shutdown The line with "fm radio" should only be present on DAPs with FM radio. The line with "shutdown" should only be present on DAPs with char cells. An example for H120: bookmarks files now playing fm radio settings playlists recording database plugins system If something goes wrong (file does not exist, unknown entries, bad number of lines etc.) the root menu is not changed. This feature can be propagated to other menues, but I think it would be an overkill. But the main menu is used often and hence should be optimized as much as possible to the taste of every single user. If this will be propagated to other menues, we could create a field in the menu structure to hold the "id" of the menu entry. Comments are welcome. |
This task depends upon
Closed by Paul Louden (Llorean)
Wednesday, 09 May 2007, 02:00 GMT+2
Reason for closing: Rejected
Additional comments about closing: Pain to support.
Increases binary size for minimal gain.
Adds to code complexity, for a minor benefit.
Wednesday, 09 May 2007, 02:00 GMT+2
Reason for closing: Rejected
Additional comments about closing: Pain to support.
Increases binary size for minimal gain.
Adds to code complexity, for a minor benefit.
My patch does the first part. If it's accepted we can start with the second.
But I'm afraid, the possibility of reordering itself is frown upon by the core developers so the chance of this patch to be committed is not very high.
Of course, just allowing the reordering the menu items doesnt get you all the way there, but it is a step in the right direction, in my opinion.
I have no problem using a file to set up the menus - people who don't care can always use the default, but for those that want to make a change they can do it, without having to merge their own code changes in and rebuild, whenever they want to update to the latest build. Just like with the tagnavi.config stuff. If people get themselves into trouble, getting rid of menu options they need or whatever, they can always delete the file, and go back to the default.
Ok I guess I talked enough about it. Just my 2 cents.