Gnc-Prefs: migrate remaining gconf calls in check printing

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23254 57a11ea4-9604-0410-9ed3-97b8803252fd
Gnc-Prefs: cleanup (most) gconf wiring in import-export

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23255 57a11ea4-9604-0410-9ed3-97b8803252fd
Gnc-Prefs: cleanup gconf wiring in report system

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23256 57a11ea4-9604-0410-9ed3-97b8803252fd
Gnc-Prefs: cleanup gconf wiring in main summarybar

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23257 57a11ea4-9604-0410-9ed3-97b8803252fd
Refactor gnc-tree-view based widgets such that only gnc-tree-view itself deals with gconf

The only exception is gnc-split-reg2, which has it's own implementation
of sort parameters (also linked to gconf unfortunately).

Tree views store column visibility and sort preferences in gconf. This is
actually state information and should be kept in the gnucash state file
(*.gcm in .gnucash/books). It will definitely not be ported to gsettings,
simply because gsettings can't handle floating sections (sections not
strictly tied to schema).

So in the process, where it makes sense the word gconf is already
replaced with "state". That helps with cleaning up the remaining gconf
code in gnucash, and indicates these parts need to be reworked to
use the state file as backend.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23258 57a11ea4-9604-0410-9ed3-97b8803252fd
Remove unused gconf includes, cflags and libs so far

This reduces the cruft a bit, making it easier
to see what's still to be migrated

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23259 57a11ea4-9604-0410-9ed3-97b8803252fd
Gnc-Prefs: Convert gnc user warnings

This is a little more involved that a simple
find/replace of gconf->gsettings functions.

Gsettings doesn't allow introspection on the schema
like gconf does. So we need another way to extract
the warnings' summaries and long descriptions to
show the user. To fix this, a new set of source
files is auto-generated based on the gsettings schema
source file for the warnings: gnc-warnings.[ch]

gnc-warnings.c: contains an array of warning
description structs and the implementation of
an accessor function. The array is to be assumed
read only

gnc-warnings.h: defines each warning using #define
and exposes the accessor function to the rest of the
source tree.

The two source files are constructed using an xsl
transformation on the gsettings schema source file.
This is done using the tool xsltproc, which should
already be available on each platform GnuCash supports
because it gets installed together with libxml2,
which is already a required dependency for GnuCash.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23260 57a11ea4-9604-0410-9ed3-97b8803252fd
Remove state saving/restoring code from gnc-tree-view

This means column widths, column's visibility and view sort order
are currently no longer saved or restored for any view based on
GncTreeView.

This is done because the state code relies heavily on gconf
and unfortunately can't be mapped to gsettings in its present
form.

State save/restore  will be added again later, but likely only
after the gconf conversion is complete.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23261 57a11ea4-9604-0410-9ed3-97b8803252fd
Remove state saving/restoring code from new and old register code

This is similar to what the previous commit did for GncTreeView
and means column widths, column's visibility and register sort order
are currently no longer saved or restored for any register.

This is done because the state code relies heavily on gconf
and unfortunately can't be mapped to gsettings in its present
form. State save/restore  will be added again later, once
the gconf conversion is complete.

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