aboutsummaryrefslogtreecommitdiffstats
path: root/src/popup-commands.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-03-30 02:54:27 +0800
committerPiers Cornwell <piers@src.gnome.org>2004-03-30 02:54:27 +0800
commitdd6f51a6cc753ed0182b2ca6e5dc3d69bea2f375 (patch)
treeaf510891de648bd729d9d53993ee8e6ac142e574 /src/popup-commands.c
parentf915ef04766ad74fb64fdb1589e73eae5324d465 (diff)
downloadgsoc2013-epiphany-dd6f51a6cc753ed0182b2ca6e5dc3d69bea2f375.tar
gsoc2013-epiphany-dd6f51a6cc753ed0182b2ca6e5dc3d69bea2f375.tar.gz
gsoc2013-epiphany-dd6f51a6cc753ed0182b2ca6e5dc3d69bea2f375.tar.bz2
gsoc2013-epiphany-dd6f51a6cc753ed0182b2ca6e5dc3d69bea2f375.tar.lz
gsoc2013-epiphany-dd6f51a6cc753ed0182b2ca6e5dc3d69bea2f375.tar.xz
gsoc2013-epiphany-dd6f51a6cc753ed0182b2ca6e5dc3d69bea2f375.tar.zst
gsoc2013-epiphany-dd6f51a6cc753ed0182b2ca6e5dc3d69bea2f375.zip
Remove Open Image in New Tab and New Window from the context menu.
2004-03-29 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: * src/popup-commands.c: * src/popup-commands.h: * data/ui/epiphany-ui.xml: Remove Open Image in New Tab and New Window from the context menu.
Diffstat (limited to 'src/popup-commands.c')
-rw-r--r--src/popup-commands.c40
1 files changed, 0 insertions, 40 deletions
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)
{