Ed Leafe wrote:
Hi Paul,
I'm working on converting the current user settings to work with the
dPref-based classes. The 'settings' part is working great, but I wanted
to pick your brain about the 'user' end of things.
Each app will specify its own base key, such as
'dabo.demo.games.montana'. We could easily add on an additional level
for the user, making it 'dabo.demo.games.montana.pkm', for example.
I've looked through the code, and I don't see anywhere that this was
ever used; all I see is the default '*' for the user. There is also a
'system' option, but that's more of the same, it seems.
The SQLite database that holds all this is created in the location
returned by dabo.utils.getUserDaboDirectory(), so it does seem that
these things will be user-specific. Do we need to maintain the
additional qualifiers of 'user' and 'system', or will each app's
BasePrefKey value be sufficient?
All of these are user settings. I believe that the user and system stuff
exists only because of the routine I originally copied/pasted from,
where the user settings were saved in the app's database instead of
locally on the given machine. IOW, they don't apply and can be removed.
--
pkm ~ http://paulmcnett.com
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev