r19965 - gnucash/trunk/src/gnome-utils - Bug #637331: Cancelling quit crashes on OSX Leopard. Turns off handling shortcuts by OSX, everything goes through Gtk.

John Ralls jralls at code.gnucash.org
Sun Dec 19 19:48:06 EST 2010


Author: jralls
Date: 2010-12-19 19:48:06 -0500 (Sun, 19 Dec 2010)
New Revision: 19965
Trac: http://svn.gnucash.org/trac/changeset/19965

Modified:
   gnucash/trunk/src/gnome-utils/gnc-main-window.c
Log:
Bug #637331: Cancelling quit crashes on OSX Leopard. Turns off handling shortcuts by OSX, everything goes through Gtk.

Modified: gnucash/trunk/src/gnome-utils/gnc-main-window.c
===================================================================
--- gnucash/trunk/src/gnome-utils/gnc-main-window.c	2010-12-20 00:26:16 UTC (rev 19964)
+++ gnucash/trunk/src/gnome-utils/gnc-main-window.c	2010-12-20 00:48:06 UTC (rev 19965)
@@ -4018,6 +4018,7 @@
 #ifdef MAC_INTEGRATION
     g_signal_connect(theApp, "NSApplicationWillTerminate",
                      G_CALLBACK(gtk_quartz_shutdown), NULL);
+    gtk_osxapplication_set_use_quartz_accelerators(theApp, FALSE);
     gtk_osxapplication_ready(theApp);
 #endif
 }



More information about the gnucash-changes mailing list