gnucash maint: Multiple changes pushed
John Ralls
jralls at code.gnucash.org
Sun Jul 15 17:20:22 EDT 2018
Updated via https://github.com/Gnucash/gnucash/commit/a51be515 (commit)
via https://github.com/Gnucash/gnucash/commit/1fffbaf8 (commit)
from https://github.com/Gnucash/gnucash/commit/374477c3 (commit)
commit a51be5157c383b15a3bddf314b61293cff19c3dd
Author: John Ralls <jralls at ceridwen.us>
Date: Sun Jul 15 14:18:01 2018 -0700
Add preference for forcing prices to decimal display.
Anticipating that some users might prefer to see exact prices,
add a preference to General>Numbers to configure whether prices
are rounded to decimals or are displayed as exact fractions.
commit 1fffbaf856921906e195803726375765a2eacaa0
Author: John Ralls <jralls at ceridwen.us>
Date: Sun Jul 15 13:20:21 2018 -0700
Bug 794755 - Commodity Register displays fractional prices
When printing numbers convert them to a new decimal denominator with
rounding if the passed-in print info specifies that they should be
forced and rounded.
Make the default price settings forced and rounded.
Pass the price currency to gnc_default_price_print_info and
use the currency's fraction * 100 to determine the round-to
denominator and the number of decimal places to display.
Summary of changes:
gnucash/gnome-utils/gnc-tree-view-split-reg.c | 9 ++--
gnucash/gnome/assistant-loan.c | 4 +-
gnucash/gnome/assistant-stock-split.c | 2 +-
gnucash/gnome/dialog-price-editor.c | 2 +-
gnucash/gschemas/org.gnucash.gschema.xml.in | 5 +++
gnucash/gtkbuilder/dialog-preferences.glade | 25 +++++++++--
.../register/ledger-core/split-register-model.c | 9 ++--
gnucash/register/ledger-core/split-register.c | 2 +-
libgnucash/app-utils/gnc-ui-util.c | 52 +++++++++++++++++++---
libgnucash/app-utils/gnc-ui-util.h | 2 +-
10 files changed, 87 insertions(+), 25 deletions(-)
More information about the gnucash-patches
mailing list