From 2b6ccad3f87d59f6e2db92046e52c7e93438effc Mon Sep 17 00:00:00 2001 From: Peter Hatina Date: Tue, 8 Nov 2011 00:43:44 +0100 Subject: [PATCH] Insert Paste and Proceed menu item after default Paste menu item Fixes: https://bugs.launchpad.net/midori/+bug/776861 --- midori/midori-locationaction.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/midori/midori-locationaction.c b/midori/midori-locationaction.c index 682420c7..292d6cf8 100644 --- a/midori/midori-locationaction.c +++ b/midori/midori-locationaction.c @@ -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); } -- 2.39.5