From: Peter Hatina Date: Mon, 7 Nov 2011 23:43:44 +0000 (+0100) Subject: Insert Paste and Proceed menu item after default Paste menu item X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2b6ccad3f87d59f6e2db92046e52c7e93438effc;p=midori Insert Paste and Proceed menu item after default Paste menu item Fixes: https://bugs.launchpad.net/midori/+bug/776861 --- 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); }