AUDIT: r17535 - gnucash/trunk/src/gnome-utils - In price and commodity tree views, restore gconf settings after initialization.

Andreas Köhler andi5 at cvs.gnucash.org
Wed Sep 17 00:17:44 EDT 2008


Author: andi5
Date: 2008-09-17 00:17:43 -0400 (Wed, 17 Sep 2008)
New Revision: 17535
Trac: http://svn.gnucash.org/trac/changeset/17535

Modified:
   gnucash/trunk/src/gnome-utils/gnc-tree-view-commodity.c
   gnucash/trunk/src/gnome-utils/gnc-tree-view-price.c
Log:
In price and commodity tree views, restore gconf settings after initialization.

Previously, gconf settings like sort column and order for price and commodity
dialogs were read in while creating the main tree view objects themselves,
i.e. before a model has been set.  In this early stage of initialization, these
properties cannot always be set and are ignored subsequently.

Instead, apply the properties after the view has been built and set default
sorting column only if no column has been found in gconf.

BP



More information about the gnucash-patches mailing list