diff -r -U4 gnucash-2.2.9/src/gnome/schemas/apps_gnucash_dialog_reconcile.schemas.in gnucash-2.2.9+rec_today/src/gnome/schemas/apps_gnucash_dialog_reconcile.schemas.in --- gnucash-2.2.9/src/gnome/schemas/apps_gnucash_dialog_reconcile.schemas.in 2008-01-08 01:06:30.000000000 +0000 +++ gnucash-2.2.9+rec_today/src/gnome/schemas/apps_gnucash_dialog_reconcile.schemas.in 2009-07-31 16:29:48.000000000 +0100 @@ -52,6 +52,22 @@ + + /schemas/apps/gnucash/dialogs/reconcile/always_reconcile_to_today + /apps/gnucash/dialogs/reconcile/always_reconcile_to_today + gnucash + bool + FALSE + + Always reconcile to today + + If active, always open the reconcile dialog using today's + date for the statement date, regardless of previous + reconciliations. + + + + diff -r -U4 gnucash-2.2.9/src/gnome/window-reconcile.c gnucash-2.2.9+rec_today/src/gnome/window-reconcile.c --- gnucash-2.2.9/src/gnome/window-reconcile.c 2009-02-18 22:09:43.000000000 +0000 +++ gnucash-2.2.9+rec_today/src/gnome/window-reconcile.c 2009-07-31 16:04:34.000000000 +0100 @@ -1291,15 +1291,20 @@ gnc_get_reconcile_info (Account *account, gnc_numeric *new_ending, time_t *statement_date) { + gboolean always_today; GDate date; time_t today; struct tm tm; g_date_clear(&date, 1); - if (xaccAccountGetReconcileLastDate (account, statement_date)) + always_today = gnc_gconf_get_bool(GCONF_RECONCILE_SECTION, + "always_reconcile_to_today", NULL); + + if (!always_today && + xaccAccountGetReconcileLastDate (account, statement_date)) { int months = 1, days = 0; g_date_set_time_t(&date, *statement_date); diff -r -U4 gnucash-2.2.9/src/gnome-utils/glade/preferences.glade gnucash-2.2.9+rec_today/src/gnome-utils/glade/preferences.glade --- gnucash-2.2.9/src/gnome-utils/glade/preferences.glade 2008-07-22 23:43:10.000000000 +0100 +++ gnucash-2.2.9+rec_today/src/gnome-utils/glade/preferences.glade 2009-07-31 17:11:42.000000000 +0100 @@ -2534,9 +2534,9 @@ 6 True - 14 + 15 4 False 0 12 @@ -2693,10 +2693,10 @@ 0 1 - 8 - 9 + 9 + 10 fill @@ -2773,8 +2773,32 @@ + + True + Always open the reconcile dialog using today's date for the statement date, regardless of previous reconciliations. + True + Always reconcile to t_oday + True + GTK_RELIEF_NORMAL + True + False + False + True + + + 0 + 4 + 8 + 9 + 12 + fill + + + + + True Show vertical borders on the cells. True @@ -2788,10 +2812,10 @@ 0 4 - 13 - 14 + 14 + 15 12 fill @@ -2812,10 +2836,10 @@ 0 4 - 12 - 13 + 13 + 14 12 fill @@ -2836,10 +2860,10 @@ 0 4 - 11 - 12 + 12 + 13 12 fill @@ -2860,10 +2884,10 @@ 0 4 - 10 - 11 + 11 + 12 12 fill @@ -2889,10 +2913,10 @@ 0 2 - 9 - 10 + 10 + 11 fill