AUDIT: r20692 - gnucash/trunk/src/gnome-utils - Add a gnc_quartz_set_menu call to main_window_new() so that newly created windows get their menus on the mac menu.
John Ralls
jralls at code.gnucash.org
Thu May 26 19:14:05 EDT 2011
Author: jralls
Date: 2011-05-26 19:14:05 -0400 (Thu, 26 May 2011)
New Revision: 20692
Trac: http://svn.gnucash.org/trac/changeset/20692
Modified:
gnucash/trunk/src/gnome-utils/gnc-main-window.c
Log:
Add a gnc_quartz_set_menu call to main_window_new() so that newly created windows get their menus on the mac menu.
BP
Modified: gnucash/trunk/src/gnome-utils/gnc-main-window.c
===================================================================
--- gnucash/trunk/src/gnome-utils/gnc-main-window.c 2011-05-26 23:13:53 UTC (rev 20691)
+++ gnucash/trunk/src/gnome-utils/gnc-main-window.c 2011-05-26 23:14:05 UTC (rev 20692)
@@ -2356,7 +2356,9 @@
}
active_windows = g_list_append (active_windows, window);
gnc_main_window_update_title(window);
-#ifndef MAC_INTEGRATION
+#ifdef MAC_INTEGRATION
+ gnc_quartz_set_menu(window);
+#else
gnc_main_window_update_all_menu_items();
#endif
gnc_engine_add_commit_error_callback( gnc_main_window_engine_commit_error_callback, window );
More information about the gnucash-changes
mailing list