I spent some time with gnucash today, entering in 75 checks, starting
three books ago, and going forwards to today. Here are the notes that
I took while typing.
I found one bug, and that had to do with the color of the balance. I
have not had a deposit yet, and so should always be in the red.
however, there was always one black balance. for a while, it was at
the beginning, and then it was at the end for the longest time. right
now, i don't see it in there at all. *shrug*
some notes on data entry.
1. the date cell. when you hit return to record transaction and move
to the next transaction, the date should initialize to the same
date as the most recently entered transaction. This aids in data
entry, since most times we go crazy on entering lots of
transactions (catching up), we enter many transactions which are
near each other in date. the previous date is presumably closer
to the next transaction than the current date. In the case of
desiring to move directly to the current date, the . key could be
a shortcut to "current date". There is no reason to enter . in
the date cell as data anyway.
2. the number cell. When you enter the number cell, I would like to
be able to hit + or - to increment or decrement the values. I am
taking a stab at adding code for that, but I am not sure how. I
was looking at the date cell code for an example. How does the
date cell work?
In datecell.c, I found "/* handle accelerator keys */", which has
the start of the stuff I am looking at. Oh! I see that t or T
already map back to today. I guess that is good for my request
above. This code is in the thingy (function, procedure?) called
DateMV. I look for where DateMV is called, and I see in
xaccInitDateCell() that there is a line which reads
"cell->cell.modify_verify = DateMV;" I look to see what calls
xaccInitDateCell, and find it in xaccMallocDateCell. I find that
xaccMallocDateCell is defined in datecell.h. I see in datecell.h
something which looks right.... "DateCell * xaccMallocDateCell
(void);", but....
You all know that I don't have a whole lot of C knowledge, and I
am wondering if I should go and copy datecell.* to numcell.* and
go from there.
(how do i set up the callbacks to the GUI?)
3. there was something else, but I can't remember what it was now. I
hope to remember it soon, and get it out to the list.
rob
--
Gnucash Developer's List
To unsubscribe send empty email to: [EMAIL PROTECTED]