dev builds
themes manual
device status forums
mailing lists
IRC bugs
dev guide

Rockbox mail archive

Subject: Re: using config.cfg instead of config block

Re: using config.cfg instead of config block

From: Jonathan Gordon <>
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.


Received on 2006-11-15

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy