gnucash master: Multiple changes pushed

Robert Fewell bobit at code.gnucash.org
Sun Aug 18 08:39:51 EDT 2019


Updated	 via  https://github.com/Gnucash/gnucash/commit/f9dc1980 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/28b71bab (commit)
	 via  https://github.com/Gnucash/gnucash/commit/f043a820 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/93dd58c2 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/61572515 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/8a448143 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/e9bab3bf (commit)
	 via  https://github.com/Gnucash/gnucash/commit/1344ea67 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/02f7a807 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/fc20aeb2 (commit)
	from  https://github.com/Gnucash/gnucash/commit/0e93e95c (commit)



commit f9dc19803168e69643af0c2abb2750aa587c79e5
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Sun Jul 28 12:03:37 2019 +0100

    Destroy the registered preference hash table
    
    With all the registered preference callbacks being removed, the hash
    table can now be destroyed and log a message to that effect.

commit 28b71bab58b9438edab60abb6fb9675da0314db1
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Sun Jul 28 12:03:00 2019 +0100

    Change the shutdown hook for the plugin manager
    
    When quitting with multiple windows, as the first window closes the
    plugin manager is shutdown and so the plugins for subsequent windows
    can not remove the preference callbacks that were setup so move the
    manager shutdown hook to HOOK_SHUTDOWN as opposed to HOOK_UI_SHUTDOWN.

commit f043a820f325e4c4cb386bd56aad73d09480ffbe
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Sun Jul 28 12:02:22 2019 +0100

    Remove plugin preferences
    
    Make sure when a GncMainWindow closes that the preference callbacks
    that were setup for the plugins are removed. At this point the actions
    are not touched as it causes errors to be logged to the terminal.

commit 93dd58c2143874843574499747bb4929bbe0d3a4
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Sun Jul 28 12:01:18 2019 +0100

    Restrict removing preference callbacks setup via g_once
    
    Only remove the register callbacks setup with 'g_once' to when quitting.

commit 6157251573c0773bd39bad6f342c51eccc92388f
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Sun Jul 28 11:58:24 2019 +0100

    Remove registered pref callbacks for the register
    
    A couple of preference callbacks are setup to track the
    'negative_color_preference' and 'auto_raise_lists' which are setup with
    a call to 'g_once'. To be able to remove these, the the preference id
    is saved so that they can be used in gnc_main_window_remove_prefs to
    remove the callback.

commit 8a44814378c7641abab93a14722e31d0bc030961
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Sun Jul 28 11:46:32 2019 +0100

    Remove the registered preference callbacks in
     gnc-main-window.c
    
    Add a function to remove all the registered preference callbacks that
    were setup in gnc-main-window.c and call it from three places. One is
    gnc_mian_window_quit which is used when the application quits and
    gnc_main_window_close_page, gnc_main_window_destroy which is used when
    separate windows are used for pages like the register and they are
    closed.

commit e9bab3bf98fc8942e9ac62495d2fb13bc59a612e
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Sat Jul 27 17:49:29 2019 +0100

    Add the removal of preference call backs to
     gnc_gui_destroy
    
    Add the removal of preferences setup in gnc-gnome-utils and also call
    the other two functions to remove further preference call backs.

commit 1344ea67e7af93e78bcd7eb38eadc4313633c303
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Sat Jul 27 17:48:42 2019 +0100

    Create a function to remove the registered preference
     call backs setup in gnc-prefs-utils.c

commit 02f7a807de5d8f77d018f7eb6f32ab207de81c6c
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Sat Jul 27 17:48:12 2019 +0100

    Create a function to remove the registered preference
     call backs setup in gnc-ui-util.c

commit fc20aeb2df11974c5e2eacbf2ad21f0b0314f244
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Sat Jul 27 17:47:43 2019 +0100

    Wrong group specified for quickfill remove pref.



Summary of changes:
 gnucash/gnome-utils/account-quickfill.c            |  2 +-
 gnucash/gnome-utils/gnc-gnome-utils.c              | 25 +++++++
 gnucash/gnome-utils/gnc-main-window.c              | 82 ++++++++++++++++++++--
 gnucash/gnome-utils/gnc-main-window.h              |  4 +-
 gnucash/gnome-utils/gnc-plugin-manager.c           |  2 +-
 gnucash/gnome-utils/gnc-plugin-menu-additions.c    |  3 +-
 gnucash/gnome-utils/gnc-plugin.c                   |  2 +-
 .../register/ledger-core/split-register-model.c    | 10 ++-
 gnucash/register/register-gnome/combocell-gnome.c  | 11 +--
 libgnucash/app-utils/gnc-gsettings.c               |  7 ++
 libgnucash/app-utils/gnc-prefs-utils.c             | 16 +++++
 libgnucash/app-utils/gnc-prefs-utils.h             |  5 ++
 libgnucash/app-utils/gnc-ui-util.c                 | 44 +++++++++++-
 libgnucash/app-utils/gnc-ui-util.h                 |  4 ++
 libgnucash/core-utils/gnc-prefs.c                  | 27 +++++++
 libgnucash/core-utils/gnc-prefs.h                  | 10 +++
 16 files changed, 237 insertions(+), 17 deletions(-)



More information about the gnucash-patches mailing list