Files
gnucash/libgnucash/app-utils
Robert Fewell b6f2b111bc 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.
2018-09-27 15:57:34 +01:00
..
2018-07-27 14:23:15 +03:00
2017-08-10 18:45:00 +02:00
2018-07-13 09:49:33 -07:00
2017-12-20 14:55:40 +01:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-12-20 14:55:40 +01:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2018-07-27 14:23:15 +03:00
2017-08-10 18:45:00 +02:00
2018-01-08 13:01:29 +11:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00

After loading this module, you must also call

  (gnc:setup-gettext)
  (setlocale LC_ALL "")

at some point to finish initializing the app.  This is not done
automatically from gncmod-app-utils.c via app-utils.scm because you
may need to handle setlocale yourself (or you may already have other
code that does).