gnucash maint: Multiple changes pushed
Geert Janssens
gjanssens at code.gnucash.org
Thu Sep 27 16:00:03 EDT 2018
Updated via https://github.com/Gnucash/gnucash/commit/20942827 (commit)
via https://github.com/Gnucash/gnucash/commit/b6f2b111 (commit)
from https://github.com/Gnucash/gnucash/commit/02e3a747 (commit)
commit 2094282790818a2a09bcce6d023f9a8abcfaa7c3
Merge: 02e3a74 b6f2b11
Author: Geert Janssens <geert at kobaltwit.be>
Date: Thu Sep 27 21:57:39 2018 +0200
Merge branch 'block-pref' of https://github.com/Bob-IT/gnucash into maint
commit b6f2b111bc2b9e701639eb4684bdbfe4bf4b97c9
Author: Robert Fewell <14uBobIT at gmail.com>
Date: Fri Sep 7 11:44:47 2018 +0100
Block registered prefs when preference dialogue loaded
When the preference dialogue is loaded and options are set, the ones
with registered callbacks fire causing parts of Gnucash to be updated.
This was observed with gnc_split_register_load being executed 5 times
for each open register when the preference dialogue was loaded.
To overcome this, a couple of functions have been created to block and
unblock all registered prefs and used while the preference dialogue is
loaded.
Summary of changes:
gnucash/gnome-utils/dialog-preferences.c | 11 ++---
libgnucash/app-utils/gnc-gsettings.c | 76 +++++++++++++++++++++++++++++++-
libgnucash/app-utils/gnc-gsettings.h | 10 +++++
libgnucash/core-utils/gnc-prefs-p.h | 4 ++
libgnucash/core-utils/gnc-prefs.c | 11 +++++
libgnucash/core-utils/gnc-prefs.h | 8 ++++
6 files changed, 113 insertions(+), 7 deletions(-)
More information about the gnucash-patches
mailing list