[Gnucash-changes] Use new gconf key to decide whether to save the column sizings.

David Hampton hampton at cvs.gnucash.org
Sat Oct 8 16:50:58 EDT 2005


Log Message:
-----------
Use new gconf key to decide whether to save the column sizings.

Tags:
----
gnucash-gnome2-dev

Modified Files:
--------------
    gnucash/src/register/register-gnome:
        table-gnome.c

Revision Data
-------------
Index: table-gnome.c
===================================================================
RCS file: /home/cvs/cvsroot/gnucash/src/register/register-gnome/table-gnome.c,v
retrieving revision 1.12.4.6
retrieving revision 1.12.4.7
diff -Lsrc/register/register-gnome/table-gnome.c -Lsrc/register/register-gnome/table-gnome.c -u -r1.12.4.6 -r1.12.4.7
--- src/register/register-gnome/table-gnome.c
+++ src/register/register-gnome/table-gnome.c
@@ -69,7 +69,7 @@
         if (table->ui_data == NULL)
                 return;
 
-        if (!gnc_lookup_boolean_option("_+Advanced", "Save Window Geometry", TRUE))
+	if (!gnc_gconf_get_bool(GCONF_GENERAL, KEY_SAVE_GEOMETRY, NULL))
 		return;
 
         sheet = GNUCASH_SHEET (table->ui_data);
@@ -162,7 +162,7 @@
 
         widths = gnc_header_widths_new ();
 
-        if (gnc_lookup_boolean_option("_+Advanced", "Save Window Geometry", TRUE)) {
+	if (gnc_gconf_get_bool(GCONF_GENERAL, KEY_SAVE_GEOMETRY, NULL)) {
 		node = gnc_table_layout_get_cells (table->layout);
 		for (; node; node = node->next) {
 			BasicCell *cell = node->data;


More information about the gnucash-changes mailing list