r23473 - gnucash/trunk/src - GSettings: only load backend when installed
Geert Janssens
gjanssens at code.gnucash.org
Mon Dec 2 11:05:33 EST 2013
Author: gjanssens
Date: 2013-12-02 11:05:32 -0500 (Mon, 02 Dec 2013)
New Revision: 23473
Trac: http://svn.gnucash.org/trac/changeset/23473
Modified:
gnucash/trunk/src/app-utils/gnc-gsettings.c
gnucash/trunk/src/app-utils/gnc-prefs-utils.c
gnucash/trunk/src/core-utils/gnc-prefs-p.h
gnucash/trunk/src/core-utils/gnc-prefs.c
gnucash/trunk/src/core-utils/gnc-prefs.h
Log:
GSettings: only load backend when installed
The preferences backend can't work from the source environment because
it's schemas won't be compiled. This situation is only relevant for testing,
which is done from the source (or build) tree.
Note that a few preferences are needed by the xml backend. If no preferences
backend is loaded, some sane defaults will be used instead. Again this should
only matter for testing, in which case the real preferences are not relevant
anyway.
More information about the gnucash-patches
mailing list