Insert Paste and Proceed menu item after default Paste menu item
Fixes: https://bugs.launchpad.net/midori/+bug/776861
This commit is contained in:
parent
aa5aeaf23c
commit
2b6ccad3f8
1 changed files with 2 additions and 1 deletions
|
@ -1284,7 +1284,8 @@ midori_location_action_populate_popup_cb (GtkWidget* entry,
|
||||||
/* i18n: Right-click on Location, Open an URL from the clipboard */
|
/* i18n: Right-click on Location, Open an URL from the clipboard */
|
||||||
menuitem = gtk_menu_item_new_with_mnemonic (_("Paste and p_roceed"));
|
menuitem = gtk_menu_item_new_with_mnemonic (_("Paste and p_roceed"));
|
||||||
gtk_widget_show (menuitem);
|
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_signal_connect (menuitem, "activate",
|
||||||
G_CALLBACK (midori_location_action_paste_proceed_cb), location_action);
|
G_CALLBACK (midori_location_action_paste_proceed_cb), location_action);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue