r23385 - gnucash/trunk/src/gnome-utils - Fix Application Menu Preferences Item

John Ralls jralls at code.gnucash.org
Sun Nov 10 16:35:26 EST 2013


Author: jralls
Date: 2013-11-10 16:35:25 -0500 (Sun, 10 Nov 2013)
New Revision: 23385
Trac: http://svn.gnucash.org/trac/changeset/23385

Modified:
   gnucash/trunk/src/gnome-utils/gnc-main-window.c
Log:
Fix Application Menu Preferences Item

Previous fix put it in the wrong place and didn't even fix changing it to "Preferences Gnucash".

Modified: gnucash/trunk/src/gnome-utils/gnc-main-window.c
===================================================================
--- gnucash/trunk/src/gnome-utils/gnc-main-window.c	2013-11-08 04:53:10 UTC (rev 23384)
+++ gnucash/trunk/src/gnome-utils/gnc-main-window.c	2013-11-10 21:35:25 UTC (rev 23385)
@@ -3715,16 +3715,17 @@
                                       "/menubar/Help/HelpAbout");
     if (GTK_IS_MENU_ITEM (item))
     {
-        gtkosx_application_insert_app_menu_item (theApp,
-                gtk_separator_menu_item_new (),
-                0);
         gtkosx_application_insert_app_menu_item (theApp, GTK_WIDGET (item), 0);
     }
 
     item = gtk_ui_manager_get_widget (window->ui_merge,
                                       "/menubar/Edit/EditPreferences");
     if (GTK_IS_MENU_ITEM (item))
-        gtkosx_application_insert_app_menu_item (theApp, GTK_WIDGET (item), 0);
+    {
+        gtkosx_application_insert_app_menu_item (theApp,
+                gtk_separator_menu_item_new (), 1);
+        gtkosx_application_insert_app_menu_item (theApp, GTK_WIDGET (item), 2);
+    }
 
     item = gtk_ui_manager_get_widget (window->ui_merge,
                                       "/menubar/Help");



More information about the gnucash-changes mailing list