gnucash master: Restore operation of macOS menu accelerators
John Ralls
jralls at code.gnucash.org
Sat Jan 7 12:51:28 EST 2023
Updated via https://github.com/Gnucash/gnucash/commit/de847278 (commit)
from https://github.com/Gnucash/gnucash/commit/59410a95 (commit)
commit de847278d6f4ed5008300bde7a8727a4a5d3cb6f
Author: John Ralls <jralls at ceridwen.us>
Date: Sat Jan 7 09:48:16 2023 -0800
Restore operation of macOS menu accelerators
By enabling their handling by macOS. This will have the side effect of
breaking cmd-c/x/v in dialog boxes until I can figure out how to
do this the right way via GtkApplication.
diff --git a/gnucash/gnome-utils/gnc-main-window.cpp b/gnucash/gnome-utils/gnc-main-window.cpp
index cc4dac0f8..09456f733 100644
--- a/gnucash/gnome-utils/gnc-main-window.cpp
+++ b/gnucash/gnome-utils/gnc-main-window.cpp
@@ -4288,7 +4288,7 @@ gnc_quartz_set_menu (GncMainWindow* window)
g_signal_connect (theApp, "NSApplicationBlockTermination",
G_CALLBACK(gnc_quartz_should_quit), window);
- gtkosx_application_set_use_quartz_accelerators (theApp, FALSE);
+ gtkosx_application_set_use_quartz_accelerators (theApp, TRUE);
g_object_unref (theApp);
}
#endif //MAC_INTEGRATION
Summary of changes:
gnucash/gnome-utils/gnc-main-window.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
More information about the gnucash-changes
mailing list