CVS update: gnucash/src/register/ledger-core
Derek Atkins
warlord@linas.org
Sat, 7 Dec 2002 16:37:54 -0600 (CST)
Date: Saturday December 7, 2002 @ 16:37
Author: warlord
Update of /home/cvs/cvsroot/gnucash/src/register/ledger-core
In directory www.linas.org:/tmp/cvs-serv21369/src/register/ledger-core
Modified Files:
split-register-control.c split-register-model-save.c
split-register-p.h
Log Message:
* src/register/ledger-core/split-register-control.c:
- Don't grab the register account for multi-split txns. Just return NULL.
- Better logic in the exchange-rate handler function for when to
pop up the dialog, and what to put into it.
- add an error dialog for corner cases where we want to force
the user to expand the txn in order to get proper conversions.
* src/register/ledger-core/split-register-model-save.c:
- export "split_needs_amount()" for use elsewhere
- fix the logic in handling debcred changes, in particular for
multi-currency cases. Convert amount->value->amount properly.
- handle the case where you change the exchange-rate manually
(and do nothing else).
- fix the logic in the save-split post-processing for what gets
converted when.
* src/register/ledger-core/split-register-p.h:
- export the "split_needs_amount()" api for use in the register.
FIXES bug #100489