r23258 - gnucash/trunk - Refactor gnc-tree-view based widgets such that only gnc-tree-view itself deals with gconf
Geert Janssens
gjanssens at code.gnucash.org
Mon Oct 7 10:26:15 EDT 2013
Author: gjanssens
Date: 2013-10-07 10:26:11 -0400 (Mon, 07 Oct 2013)
New Revision: 23258
Trac: http://svn.gnucash.org/trac/changeset/23258
Modified:
gnucash/trunk/configure.ac
gnucash/trunk/src/business/business-gnome/gnc-plugin-page-owner-tree.c
gnucash/trunk/src/gnome-utils/gnc-tree-model-split-reg.c
gnucash/trunk/src/gnome-utils/gnc-tree-view.c
gnucash/trunk/src/gnome-utils/gnc-tree-view.h
gnucash/trunk/src/gnome/dialog-commodities.c
gnucash/trunk/src/gnome/dialog-price-edit-db.c
gnucash/trunk/src/gnome/gnc-budget-view.c
gnucash/trunk/src/gnome/gnc-budget-view.h
gnucash/trunk/src/gnome/gnc-plugin-page-account-tree.c
gnucash/trunk/src/gnome/gnc-plugin-page-budget.c
gnucash/trunk/src/gnome/gnc-plugin-page-sx-list.c
gnucash/trunk/src/gnome/gnc-plugin-register2.c
gnucash/trunk/src/gnome/gnc-split-reg2.c
gnucash/trunk/src/import-export/import-account-matcher.c
Log:
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.
More information about the gnucash-patches
mailing list