r14514 - gnucash/branches/register-rewrite/src/gnome-utils - Switched ordering of credit and debit.

Andreas Köhler andi5 at cvs.gnucash.org
Sat Jul 15 18:27:57 EDT 2006


Author: andi5
Date: 2006-07-15 18:27:57 -0400 (Sat, 15 Jul 2006)
New Revision: 14514
Trac: http://svn.gnucash.org/trac/changeset/14514

Modified:
   gnucash/branches/register-rewrite/src/gnome-utils/gnc-tree-view-transaction.c
Log:
Switched ordering of credit and debit.


Modified: gnucash/branches/register-rewrite/src/gnome-utils/gnc-tree-view-transaction.c
===================================================================
--- gnucash/branches/register-rewrite/src/gnome-utils/gnc-tree-view-transaction.c	2006-07-15 19:48:14 UTC (rev 14513)
+++ gnucash/branches/register-rewrite/src/gnome-utils/gnc-tree-view-transaction.c	2006-07-15 22:27:57 UTC (rev 14514)
@@ -103,8 +103,8 @@
     COL_ACCOUNT,
     COL_AMOUNT,
     COL_VALUE,
+    COL_DEBIT,
     COL_CREDIT,
-    COL_DEBIT,
     COL_RECN,
     COL_BALANCE,
     COL_RATE,
@@ -148,14 +148,14 @@
     {COL_VALUE, -1,
      "Val", "value", "xxxxxx", -1,
      NULL, NULL, NULL},
+    {COL_DEBIT, -1,
+     "Debit", "debit", "xxxxxx", -1,
+     gtvt_edited_cb, get_editable_start_editing_cb,
+     NULL},
     {COL_CREDIT, -1,
      "Credit", "credit", "xxxxxx", -1,
      gtvt_edited_cb, get_editable_start_editing_cb,
      NULL},
-    {COL_DEBIT, -1,
-     "Debit", "debit", "xxxxxx", -1,
-     gtvt_edited_cb, get_editable_start_editing_cb,
-     NULL},
     {COL_BALANCE, -1,
      "Balance", "balance", "xxxxxxx", -1,
      NULL, NULL, NULL},
@@ -1006,8 +1006,8 @@
         break;
     case COL_AMOUNT:
     case COL_RATE:
-    case COL_CREDIT:
-    case COL_DEBIT: {
+    case COL_DEBIT:
+    case COL_CREDIT: {
         Account *acct;
         gnc_numeric input;
         Split *split2 = NULL;
@@ -1452,7 +1452,7 @@
 
 static ViewCol col_list[] = {
     COL_DATE, COL_NUM, COL_DESCRIPTION, COL_ACCOUNT, COL_RECN,
-    COL_AMOUNT, COL_VALUE, COL_RATE, COL_CREDIT, COL_DEBIT,
+    COL_AMOUNT, COL_VALUE, COL_RATE, COL_DEBIT, COL_CREDIT,
     COL_BALANCE, -1};
 
 GncTreeViewTransaction *



More information about the gnucash-changes mailing list