"<separator/>"
"<menuitem action='Find'/>"
"<menuitem action='FindNext'/>"
+ #ifndef G_OS_WIN32
"<separator/>"
"<menuitem action='Preferences'/>"
+ #endif
"</menu>"
"<menu action='View'>"
"<menu action='Toolbars'>"
"<menuitem action='ManageSearchEngines'/>"
"<menuitem action='ClearPrivateData'/>"
/* Panel items shall be appended here */
+ #ifdef G_OS_WIN32
+ "<separator/>"
+ "<menuitem action='Preferences'/>"
+ #endif
"</menu>"
"<menuitem action='Window'/>"
"<menu action='Help'>"
gtk_ui_manager_get_widget (ui_manager, "/menubar/Tools")));
menuitem = gtk_separator_menu_item_new ();
gtk_widget_show (menuitem);
- gtk_menu_shell_append (GTK_MENU_SHELL (browser->menu_tools), menuitem);
+ gtk_menu_shell_insert (GTK_MENU_SHELL (browser->menu_tools), menuitem, 3);
homepage = gtk_ui_manager_get_widget (ui_manager, "/menubar/Go/Homepage");
g_signal_connect (homepage, "button-press-event",
g_signal_connect (menuitem, "activate",
G_CALLBACK (midori_panel_menu_item_activate_cb),
panel);
- gtk_menu_shell_append (GTK_MENU_SHELL (panel->menu), menuitem);
+ gtk_menu_shell_insert (GTK_MENU_SHELL (panel->menu), menuitem, 4);
g_object_set_data (G_OBJECT (scrolled), "panel-menuitem", menuitem);
g_signal_connect (viewable, "destroy",
G_CALLBACK (midori_panel_widget_destroy_cb), menuitem);