Whitespace cleanup, comment improvements and spelling fixes

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23213 57a11ea4-9604-0410-9ed3-97b8803252fd
Use more generic parameter name to cut association with gconf

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23214 57a11ea4-9604-0410-9ed3-97b8803252fd
Prepare for GSettings conversion

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23215 57a11ea4-9604-0410-9ed3-97b8803252fd
Add GSettings schemas and build rules

These are converted from their GConf equivalents.
Some caveats:
- During the code updates from GConf to GSettings both systems
  use the same backend and hence need the same key and
  path names or they won't see each others changes.
- For this reason the conversion in this commit
  preserves the GConf key names even though these can
  contain illegal characters for GSettings.
- Once all code is successfully converted
  to GSettings and we have a preferences conversion
  script in place, we need one more round of fixing
  the keys and paths (/apps is deprecated in GSettings
  in favour of /org)

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23216 57a11ea4-9604-0410-9ed3-97b8803252fd
Add some initialization code for GSettings

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23217 57a11ea4-9604-0410-9ed3-97b8803252fd
GSettings: add functions to listen for changes

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23218 57a11ea4-9604-0410-9ed3-97b8803252fd
GSettings: add functions to get/set most common data types

These are
- integers
- floating point numbers
- strings
- enums
- arbitary combinations of values in a GVariant (this will
  be used to replace the current GConf list getters/setters)

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23219 57a11ea4-9604-0410-9ed3-97b8803252fd
GSettings: add functions to unset a key or complete schema

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23220 57a11ea4-9604-0410-9ed3-97b8803252fd
GSettings: add function to bind a gsettings key to a gobject property

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23221 57a11ea4-9604-0410-9ed3-97b8803252fd
Refactor preferences

- rename core-utils/gnc-core-prefs* to core-utils/gnc-prefs*
- rename app-utils/gnc-prefs* to app-utils/gnc-prefs-utils*
- move preferences initialization fuctions to gnc-prefs-utils*
- define a gnc_prefs_* api that is independent of any
  settings backend
- refactor gnc_gsettings_* api to serve as a backend for the
  gnc_prefs_* api

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23222 57a11ea4-9604-0410-9ed3-97b8803252fd
Remove obsolete gconf setup assistant.

Gconf is being replaced by gsettings. The problem the obsolete assistant
is trying to solve will be solved differently for gsettings: in order
to locate the gsettings schema files, the XDG_DATA_DIR environment
variable will be set.

This is already configured for development builds. It's likely this
still has to be set up properly for the Windows/OS X installers

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23223 57a11ea4-9604-0410-9ed3-97b8803252fd
Create gsettings schema entries for all gconf keys currently in use

These entries were generated using a conversion tool supplied with
gsettings:
gsettings-schema-convert --force --gconf --xml -u
                         --schema-id <GSETTINGS_SCHEMA_ID>
                         -d GETTEXT_PACKAGE ../schemas/<GCONF_SCHEMA_FILE>
                         -o <GSETTINGS_SCHEMA_ID>.gschema.xml.in

Missing keys (gconf didn't *require* schema keys) were manually
added.

The only keys not converted are those that are used multiple times
in different paths, like budget/account register column widths.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23224 57a11ea4-9604-0410-9ed3-97b8803252fd