Experimental Magnification Preferences Dialog Using GSettings
I have been experimenting with a version of the Magnifier Preferences Dialog where the settings back end is handled by GSettings. A tar ball of the code is available from this page -- link is below.
The user interface and intended functionality is the same as that for the Magnifier Preferences Dialog, but using GSettings instead of GConf.
Some notes and issues:
The main problems, however, are (1) accessing the settings templates, and (2) changing the user's actual preferences.
Regarding the templates: GConf gracefully degrades in the sense that if the templates cannot be found, the code can continue, and can fetch, modify, and store the settings without templates. GSettings is more strict -- if it can't find the templates, it stops (or, I'm doing something wrong).
However, even though it finds the templates, it's not clear (to me) where the actual settings are stored, nor if they are being accessed or modified. It's somewhere in the user's home directory, but I'm not sure where.
In summary, the issues are:
- the location of the GSettings templates.
- the location of the users' preferences.
Magnifier preferences dialog tar ball: MagnifierPrefsJS.tar.gz.
The tarball contains: