GnuCash Daily Source Diff

Linas Vepstas linas@linas.org
Sun, 15 Jul 2001 01:38:11 -0500


See below ...
Uhh, the changes below seem to inply that the stock register will no
longer show a dollar balance.  Is this wise?  Admittedly, you
could get that from a report, but there is a certain convenience
to being able to review one's portfolio, and see both a dollar amount,
and a share balance ....

--linas



On Fri, Jul 13, 2001 at 08:03:37AM -0500, Dave Peticolas was heard to remark:
> Index: src/register/splitreg.c
> ===================================================================
> RCS file: /home/cvs/cvsroot/gnucash/src/register/splitreg.c,v
> retrieving revision 1.133
> retrieving revision 1.134
> diff -u -r1.133 -r1.134
> --- src/register/splitreg.c	2001/07/03 07:22:26	1.133
> +++ src/register/splitreg.c	2001/07/13 00:11:27	1.134
> @@ -69,7 +69,6 @@
>    CellBuffer numCell;
>    CellBuffer descCell;
>    CellBuffer recnCell;
> -  CellBuffer shrbalnCell;
>    CellBuffer balanceCell;
>    CellBuffer actionCell;
>    CellBuffer xfrmCell;
> @@ -96,7 +95,6 @@
>    { N_("sample:99999"), 7},                          /* num cell */
>    { N_("sample:Description of a transaction"), 7},   /* desc cell */
>    { N_("Reconciled:R"), 11},                         /* recn cell */
> -  { N_("sample:999,999.000"), 7},                    /* share balance cell */
>    { N_("sample:999,999.000"), 7},                    /* balance cell */
>    { N_("Transfer"), 0},                              /* action cell */
>    { N_("sample:Expenses:Automobile:Gasoline"), 7},   /* xfrm cell */
> @@ -109,7 +107,6 @@
>    { N_("sample:999,999.000"), 7},                    /* tcredit cell */
>    { N_("sample:999,999.000"), 7},                    /* tdebit cell */
>    { N_("sample:999,999.000"), 7},                    /* tshares cell */
> -  { N_("sample:999,999.000"), 7},                    /* tshrbaln cell */
>    { N_("sample:999,999.000"), 7},                    /* tbalance cell */
>    { N_("sample:Notes field sample text string"), 7}, /* notes cell */
>    { N_("sample:(x + 0.33 * y + (x+y) )"), 7 },       /* formula credit cell */
> @@ -122,7 +119,6 @@
>    CELL_ALIGN_LEFT,   /* num cell */
>    CELL_ALIGN_LEFT,   /* desc cell */
>    CELL_ALIGN_CENTER, /* recn cell */
> -  CELL_ALIGN_RIGHT,  /* share balance cell */
>    CELL_ALIGN_RIGHT,  /* balance cell */
>    CELL_ALIGN_LEFT,   /* action cell */
>    CELL_ALIGN_RIGHT,  /* xfrm cell */
> @@ -135,7 +131,6 @@
>    CELL_ALIGN_RIGHT,  /* tcredit cell */
>    CELL_ALIGN_RIGHT,  /* tdebit cell */
>    CELL_ALIGN_RIGHT,  /* tshares cell */
> -  CELL_ALIGN_RIGHT,  /* tshrbaln cell */
>    CELL_ALIGN_RIGHT,  /* tbalance cell */
>    CELL_ALIGN_LEFT,   /* notes cell */
>    CELL_ALIGN_LEFT,   /* formula credit cell */
> @@ -476,16 +471,16 @@
>      case CURRENCY_REGISTER: