Remove 'Open' from tab context menu
This commit is contained in:
parent
3eb3481812
commit
7614e319ce
1 changed files with 0 additions and 12 deletions
|
@ -4595,14 +4595,6 @@ midori_view_get_proxy_menu_item (MidoriView* view)
|
||||||
return view->menu_item;
|
return view->menu_item;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
|
||||||
midori_view_tab_label_menu_open_cb (GtkWidget* menuitem,
|
|
||||||
GtkWidget* view)
|
|
||||||
{
|
|
||||||
MidoriBrowser* browser = midori_browser_get_for_widget (view);
|
|
||||||
midori_browser_set_current_tab (browser, view);
|
|
||||||
}
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
midori_view_tab_label_menu_duplicate_tab_cb (GtkWidget* menuitem,
|
midori_view_tab_label_menu_duplicate_tab_cb (GtkWidget* menuitem,
|
||||||
MidoriView* view)
|
MidoriView* view)
|
||||||
|
@ -4679,10 +4671,6 @@ midori_view_get_tab_menu (MidoriView* view)
|
||||||
gtk_menu_shell_append (GTK_MENU_SHELL (menu), menuitem);
|
gtk_menu_shell_append (GTK_MENU_SHELL (menu), menuitem);
|
||||||
menuitem = gtk_separator_menu_item_new ();
|
menuitem = gtk_separator_menu_item_new ();
|
||||||
gtk_menu_shell_append (GTK_MENU_SHELL (menu), menuitem);
|
gtk_menu_shell_append (GTK_MENU_SHELL (menu), menuitem);
|
||||||
menuitem = gtk_image_menu_item_new_from_stock (GTK_STOCK_OPEN, NULL);
|
|
||||||
gtk_menu_shell_append (GTK_MENU_SHELL (menu), menuitem);
|
|
||||||
g_signal_connect (menuitem, "activate",
|
|
||||||
G_CALLBACK (midori_view_tab_label_menu_open_cb), view);
|
|
||||||
menuitem = gtk_image_menu_item_new_from_stock (STOCK_WINDOW_NEW, NULL);
|
menuitem = gtk_image_menu_item_new_from_stock (STOCK_WINDOW_NEW, NULL);
|
||||||
gtk_menu_item_set_label (GTK_MENU_ITEM (menuitem), _("Open in New _Window"));
|
gtk_menu_item_set_label (GTK_MENU_ITEM (menuitem), _("Open in New _Window"));
|
||||||
gtk_menu_shell_append (GTK_MENU_SHELL (menu), menuitem);
|
gtk_menu_shell_append (GTK_MENU_SHELL (menu), menuitem);
|
||||||
|
|
Loading…
Reference in a new issue