aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ephy-window.c4
-rw-r--r--src/popup-commands.c40
-rw-r--r--src/popup-commands.h6
3 files changed, 0 insertions, 50 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c
index 151f7a036..967d38236 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -291,10 +291,6 @@ static GtkActionEntry ephy_popups_entries [] = {
/* Images */
{ "OpenImage", GTK_STOCK_OPEN, N_("Open _Image"), GTK_STOCK_OPEN,
NULL, G_CALLBACK (popup_cmd_open_image) },
- { "OpenImageInNewWindow", NULL, N_("Open Image in New _Window"), NULL,
- NULL, G_CALLBACK (popup_cmd_image_in_new_window) },
- { "OpenImageInNewTab", NULL, N_("Open Image in New T_ab"), NULL,
- NULL, G_CALLBACK (popup_cmd_image_in_new_tab) },
{ "SaveImageAs", GTK_STOCK_SAVE_AS, N_("_Save Image As..."), NULL,
NULL, G_CALLBACK (popup_cmd_save_image_as) },
{ "SetImageAsBackground", NULL, N_("_Use Image As Background"), NULL,
diff --git a/src/popup-commands.c b/src/popup-commands.c
index 6d90abe7a..bd6ea606b 100644
--- a/src/popup-commands.c
+++ b/src/popup-commands.c
@@ -88,46 +88,6 @@ popup_cmd_link_in_new_tab (GtkAction *action,
}
void
-popup_cmd_image_in_new_tab (GtkAction *action,
- EphyWindow *window)
-{
- EphyEmbedEvent *info;
- EphyTab *tab;
- const GValue *value;
-
- tab = ephy_window_get_active_tab (window);
-
- info = get_event_info (window);
-
- ephy_embed_event_get_property (info, "image", &value);
-
- ephy_shell_new_tab (ephy_shell, window, tab,
- g_value_get_string (value),
- EPHY_NEW_TAB_OPEN_PAGE |
- EPHY_NEW_TAB_IN_EXISTING_WINDOW);
-}
-
-void
-popup_cmd_image_in_new_window (GtkAction *action,
- EphyWindow *window)
-{
- EphyEmbedEvent *info;
- EphyTab *tab;
- const GValue *value;
-
- tab = ephy_window_get_active_tab (window);
-
- info = get_event_info (window);
-
- ephy_embed_event_get_property (info, "image", &value);
-
- ephy_shell_new_tab (ephy_shell, NULL, tab,
- g_value_get_string (value),
- EPHY_NEW_TAB_OPEN_PAGE |
- EPHY_NEW_TAB_IN_NEW_WINDOW);
-}
-
-void
popup_cmd_bookmark_link (GtkAction *action,
EphyWindow *window)
{
diff --git a/src/popup-commands.h b/src/popup-commands.h
index b999b28da..d0d6cc719 100644
--- a/src/popup-commands.h
+++ b/src/popup-commands.h
@@ -28,12 +28,6 @@ void popup_cmd_link_in_new_window (GtkAction *action,
void popup_cmd_link_in_new_tab (GtkAction *action,
EphyWindow *window);
-void popup_cmd_image_in_new_tab (GtkAction *action,
- EphyWindow *window);
-
-void popup_cmd_image_in_new_window (GtkAction *action,
- EphyWindow *window);
-
void popup_cmd_bookmark_link (GtkAction *action,
EphyWindow *window);