diff options
author | Xan Lopez <xan@igalia.com> | 2012-01-22 20:04:24 +0800 |
---|---|---|
committer | Xan Lopez <xan@igalia.com> | 2012-01-22 20:04:24 +0800 |
commit | 7cdfd66e04647967f8c92fa1aa3d75fb489fd475 (patch) | |
tree | ca237698f5b2c389c997fb8691cfff0ac0017104 /src/ephy-window.c | |
parent | eea8808a15effed06b1470e1bf5c9690280abb5a (diff) | |
download | gsoc2013-epiphany-7cdfd66e04647967f8c92fa1aa3d75fb489fd475.tar gsoc2013-epiphany-7cdfd66e04647967f8c92fa1aa3d75fb489fd475.tar.gz gsoc2013-epiphany-7cdfd66e04647967f8c92fa1aa3d75fb489fd475.tar.bz2 gsoc2013-epiphany-7cdfd66e04647967f8c92fa1aa3d75fb489fd475.tar.lz gsoc2013-epiphany-7cdfd66e04647967f8c92fa1aa3d75fb489fd475.tar.xz gsoc2013-epiphany-7cdfd66e04647967f8c92fa1aa3d75fb489fd475.tar.zst gsoc2013-epiphany-7cdfd66e04647967f8c92fa1aa3d75fb489fd475.zip |
Remove mailto: specific menus
They have been dead/#if zeroed for a long time without any bugs opened
about it, so I can guess they were not used a lot in their day.
Diffstat (limited to 'src/ephy-window.c')
-rw-r--r-- | src/ephy-window.c | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c index 9d983130b..a37055be2 100644 --- a/src/ephy-window.c +++ b/src/ephy-window.c @@ -265,14 +265,6 @@ static const GtkActionEntry ephy_popups_entries [] = { { "CopyLinkAddress", NULL, N_("_Copy Link Address"), NULL, NULL, G_CALLBACK (popup_cmd_copy_link_address) }, - /* Email links. */ - - /* This is on the context menu on a mailto: link and opens the mail program */ - { "SendEmail", STOCK_NEW_MAIL, N_("_Send Email…"), - NULL, NULL, G_CALLBACK (popup_cmd_open_link) }, - { "CopyEmailAddress", NULL, N_("_Copy Email Address"), NULL, - NULL, G_CALLBACK (popup_cmd_copy_link_address) }, - /* Images. */ { "OpenImage", NULL, N_("Open _Image"), NULL, @@ -2090,25 +2082,6 @@ update_popups_tooltips (EphyWindow *window, GdkEventButton *event, WebKitHitTest g_free (name); } -#if 0 - if (context & EPHY_EMBED_CONTEXT_EMAIL_LINK) - { - value = ephy_embed_event_get_property (event, "link"); - - action = gtk_action_group_get_action (group, "SendEmail"); - tooltip = g_strdup_printf (_("Send email to address “%s”"), - g_value_get_string (value)); - g_object_set (action, "tooltip", tooltip, NULL); - g_free (tooltip); - - action = gtk_action_group_get_action (group, "CopyEmailAddress"); - tooltip = g_strdup_printf (_("Copy email address “%s”"), - g_value_get_string (value)); - g_object_set (action, "tooltip", tooltip, NULL); - g_free (tooltip); - } -#endif - if (context & WEBKIT_HIT_TEST_RESULT_CONTEXT_LINK) { char *uri; @@ -2164,13 +2137,6 @@ show_embed_popup (EphyWindow *window, LOG ("show_embed_popup context %x", context); -#if 0 - if (context & EPHY_EMBED_CONTEXT_EMAIL_LINK) - { - popup = "/EphyEmailLinkPopup"; - update_edit_actions_sensitivity (window, TRUE); - } -#endif if (context & WEBKIT_HIT_TEST_RESULT_CONTEXT_LINK) { popup = "/EphyLinkPopup"; |