AUDIT: r23098 - gnucash/trunk/src/gnome-utils - Bug 703272 - list of windows in Windows menu outdated

John Ralls jralls at code.gnucash.org
Sat Jul 6 18:16:08 EDT 2013


Author: jralls
Date: 2013-07-06 18:16:07 -0400 (Sat, 06 Jul 2013)
New Revision: 23098
Trac: http://svn.gnucash.org/trac/changeset/23098

Modified:
   gnucash/trunk/src/gnome-utils/gnc-main-window.c
Log:
Bug 703272 - list of windows in Windows menu outdated

Only set the menu once per window!
When combined with fixing the autorelease pool problem of Byg 698334,
the window menu now behaves correctly.

BP

Modified: gnucash/trunk/src/gnome-utils/gnc-main-window.c
===================================================================
--- gnucash/trunk/src/gnome-utils/gnc-main-window.c	2013-07-06 20:51:23 UTC (rev 23097)
+++ gnucash/trunk/src/gnome-utils/gnc-main-window.c	2013-07-06 22:16:07 UTC (rev 23098)
@@ -4228,9 +4228,6 @@
     for (window_iter = active_windows; window_iter != NULL; window_iter = window_iter->next)
     {
         gtk_widget_show(GTK_WIDGET(window_iter->data));
-#ifdef MAC_INTEGRATION
-        gnc_quartz_set_menu(window_iter->data);
-#endif
     }
 #ifdef MAC_INTEGRATION
     g_signal_connect(theApp, "NSApplicationWillTerminate",



More information about the gnucash-changes mailing list