Rockbox mail archiveSubject: Re: using config.cfg instead of config block
Re: using config.cfg instead of config block
From: Jonathan Gordon <jdgordy_at_gmail.com>
Date: Wed, 15 Nov 2006 19:22:43 +1100
I found the problem... well sort of...
It turns out there is a problem with how dynamic menus are handled.
The way it is supposed to work is that if there is a chance that a
menu should not be displayed then it is given a callback, and return a
special value if the item should not be shown...
now, there is no problem if the callbacks are skipped, (commenting out
menu.c line 429-439 everything works correctly, except no dynamic
So, its either something blatantly obvious but I've been staring at it
for too long and miss it, or its something wierd and im hoping an
extra pair of eyes (or more?) would be able to see the problem.
Attached is the new patch.
Also, still waiting on a response to weather useing
default_event_handler() to dump the config file is OK.