2001-06-12 Dave Peticolas <dave@krondo.com>

* src/gnome/reconcile-list.c: obey new option below

	* src/scm/prefs.scm: add option wrt checking off cleared
	transactions when reconciling


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4652 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Dave Peticolas 2001-06-13 03:32:34 +00:00
parent 4615a50db0
commit 464ced4129
3 changed files with 19 additions and 1 deletions

View File

@ -1,5 +1,10 @@
2001-06-12 Dave Peticolas <dave@krondo.com>
* src/gnome/reconcile-list.c: obey new option below
* src/scm/prefs.scm: add option wrt checking off cleared
transactions when reconciling
* src/register/table-allgui.[ch]: move function to .c file
* src/scm/tip-list.scm: update tip

View File

@ -29,6 +29,7 @@
#include "FileDialog.h"
#include "date.h"
#include "dialog-utils.h"
#include "global-options.h"
#include "gnc-ui-util.h"
#include "messages.h"
#include "reconcile-list.h"
@ -655,9 +656,14 @@ gnc_reconcile_list_fill(GNCReconcileList *list)
GNCPrintAmountInfo print_info;
GNCAccountType account_type;
Transaction *trans;
gboolean auto_check;
GList *splits;
Split *split;
auto_check = gnc_lookup_boolean_option ("Reconcile",
"Check off cleared transactions",
TRUE);
account_type = xaccAccountGetType (list->account);
strings[5] = NULL;
@ -701,7 +707,7 @@ gnc_reconcile_list_fill(GNCReconcileList *list)
strings[3] = xaccPrintAmount (gnc_numeric_abs (amount), print_info);
strings[4] = "";
if (list->first_fill && recn == CREC)
if (list->first_fill && auto_check && recn == CREC)
g_hash_table_insert (list->reconciled, split, split);
row = gtk_clist_append (GTK_CLIST(list), (gchar **) strings);

View File

@ -328,6 +328,13 @@ not each row")
to enter a credit card payment")
#t))
(gnc:register-configuration-option
(gnc:make-simple-boolean-option
(N_ "Reconcile") (N_ "Check off cleared transactions")
"b" (N_ "Automatically check off cleared transactions when reconciling")
#t))
;;; User Info Options
(gnc:register-configuration-option