Insert Paste and Proceed menu item after default Paste menu item

Fixes: https://bugs.launchpad.net/midori/+bug/776861
This commit is contained in:
Peter Hatina 2011-11-08 00:43:44 +01:00 committed by Christian Dywan
parent aa5aeaf23c
commit 2b6ccad3f8

View file

@ -1284,7 +1284,8 @@ midori_location_action_populate_popup_cb (GtkWidget* entry,
/* i18n: Right-click on Location, Open an URL from the clipboard */
menuitem = gtk_menu_item_new_with_mnemonic (_("Paste and p_roceed"));
gtk_widget_show (menuitem);
gtk_menu_shell_append (menu, menuitem);
/* Insert menu item after default Paste menu item */
gtk_menu_shell_insert (menu, menuitem, 3);
g_signal_connect (menuitem, "activate",
G_CALLBACK (midori_location_action_paste_proceed_cb), location_action);
}