gnucash master: Multiple changes pushed

Robert Fewell bobit at code.gnucash.org
Sat Mar 18 07:22:40 EDT 2023


Updated	 via  https://github.com/Gnucash/gnucash/commit/a143f8b5 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/55cdb6fe (commit)
	 via  https://github.com/Gnucash/gnucash/commit/cc5029bb (commit)
	 via  https://github.com/Gnucash/gnucash/commit/6a301304 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/e8b0d4dd (commit)
	 via  https://github.com/Gnucash/gnucash/commit/0098b047 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/85f462fe (commit)
	from  https://github.com/Gnucash/gnucash/commit/b4b84319 (commit)



commit a143f8b5edd3118aedff975d3a1b5b47867e2027
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Sat Mar 11 11:30:03 2023 +0000

    Make changes to load and save default accelerator map file
    
    When the gui is loaded, check for the accelerator-map file being
    located in the user data directory, if not present copy the default one
    to the location and open it.

commit 55cdb6fe3485c7a89fc5e47e692b13e6d359481e
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Fri Mar 10 14:09:39 2023 +0000

    Default accelerator-map files

commit cc5029bb4d1964baea9784900e8e0ab94dc892ba
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Fri Mar 10 11:42:35 2023 +0000

    Disable saving the gtk_accel_map
    
    It seems that it only saves the loaded map entries and if the original
    accelelerator-map file has commented out entries they are lost.

commit 6a3013046f808b9636fa369bb668bbd6876e881f
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Fri Mar 10 11:36:17 2023 +0000

    Change gnc_add_accelerator_keys_for_menu
    
    To allow the menu short cuts to be changed by the use of an
    accelerator-map file, this function adds scanning the gtk accelerator
    map and if any changes are found updates the GMenuModel, GMenuItem

commit e8b0d4dd874164fd129c81394ad79b998e6038fd
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Fri Mar 10 11:33:33 2023 +0000

    Change gnc_menubar_model_update_item to also update accelerator keys

commit 0098b047d5fb67df39fda92f578bad358b4d1418
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Wed Mar 8 15:52:03 2023 +0000

    Only add the accelerator key to the menu item once

commit 85f462feb589839376adbde18c3543eaa9a93fdb
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Tue Mar 7 12:58:27 2023 +0000

    On a Mac, some keyboard short cuts are missing
    
    Sync the menu bar after the menus have been updated.



Summary of changes:
 gnucash/gnome-utils/gnc-embedded-window.c |   2 +-
 gnucash/gnome-utils/gnc-gnome-utils.c     |  37 +++--
 gnucash/gnome-utils/gnc-gtk-utils.c       | 101 ++++++++++---
 gnucash/gnome-utils/gnc-gtk-utils.h       |   5 +-
 gnucash/gnome-utils/gnc-main-window.cpp   |  19 ++-
 gnucash/gnome/gnc-plugin-page-register.c  |   4 +-
 gnucash/gnome/window-reconcile.c          |  29 +++-
 gnucash/ui/CMakeLists.txt                 |   4 +-
 gnucash/ui/accelerator-map                | 243 ++++++++++++++++++++++++++++++
 gnucash/ui/accelerator-map-osx            | 243 ++++++++++++++++++++++++++++++
 10 files changed, 634 insertions(+), 53 deletions(-)
 create mode 100644 gnucash/ui/accelerator-map
 create mode 100644 gnucash/ui/accelerator-map-osx



More information about the gnucash-patches mailing list