r17558 - gnucash/branches/2.2/src/gnome-utils - [r17349, 17468, 17535] In price and commodity tree views, restore gconf settings after initialization, add default sort column.

Andreas Köhler andi5 at cvs.gnucash.org
Thu Sep 18 22:18:11 EDT 2008


Author: andi5
Date: 2008-09-18 22:18:09 -0400 (Thu, 18 Sep 2008)
New Revision: 17558
Trac: http://svn.gnucash.org/trac/changeset/17558

Modified:
   gnucash/branches/2.2/src/gnome-utils/gnc-tree-view-commodity.c
   gnucash/branches/2.2/src/gnome-utils/gnc-tree-view-price.c
Log:
[r17349,17468,17535]  In price and commodity tree views, restore gconf settings after initialization, add default sort column.

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.

Set a default sorting column if no column has been found in gconf.

Committed by cedayiv and andi5.



More information about the gnucash-patches mailing list