aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-05-14 04:56:00 +0800
committerChristian Persch <chpe@src.gnome.org>2004-05-14 04:56:00 +0800
commit6996cf034f17f67281eef72533a7ff83f943777e (patch)
treeaa46e2de38767aac403602ba5d1cbb63abf98d9b /src
parentb05d498059ff15a36ecd32964e090d7970b2a826 (diff)
downloadgsoc2013-epiphany-6996cf034f17f67281eef72533a7ff83f943777e.tar
gsoc2013-epiphany-6996cf034f17f67281eef72533a7ff83f943777e.tar.gz
gsoc2013-epiphany-6996cf034f17f67281eef72533a7ff83f943777e.tar.bz2
gsoc2013-epiphany-6996cf034f17f67281eef72533a7ff83f943777e.tar.lz
gsoc2013-epiphany-6996cf034f17f67281eef72533a7ff83f943777e.tar.xz
gsoc2013-epiphany-6996cf034f17f67281eef72533a7ff83f943777e.tar.zst
gsoc2013-epiphany-6996cf034f17f67281eef72533a7ff83f943777e.zip
Simplify context menu wrt. frames. Fixes bug #138442.
2004-05-13 Christian Persch <chpe@cvs.gnome.org> * data/ui/epiphany-ui.xml: * src/popup-commands.c: * src/popup-commands.h: Simplify context menu wrt. frames. Fixes bug #138442.
Diffstat (limited to 'src')
-rw-r--r--src/popup-commands.c44
-rw-r--r--src/popup-commands.h9
2 files changed, 0 insertions, 53 deletions
diff --git a/src/popup-commands.c b/src/popup-commands.c
index bd6ea606b..0f880dc72 100644
--- a/src/popup-commands.c
+++ b/src/popup-commands.c
@@ -145,50 +145,6 @@ popup_cmd_bookmark_link (GtkAction *action,
}
}
-void
-popup_cmd_frame_in_new_tab (GtkAction *action,
- EphyWindow *window)
-{
- EphyTab *tab;
- EphyEmbed *embed;
- char *location;
-
- tab = ephy_window_get_active_tab (window);
-
- embed = ephy_window_get_active_embed (window);
-
- location = ephy_embed_get_location (embed, FALSE);
-
- ephy_shell_new_tab (ephy_shell, window, tab,
- location,
- EPHY_NEW_TAB_OPEN_PAGE |
- EPHY_NEW_TAB_IN_EXISTING_WINDOW);
-
- g_free (location);
-}
-
-void
-popup_cmd_frame_in_new_window (GtkAction *action,
- EphyWindow *window)
-{
- EphyTab *tab;
- EphyEmbed *embed;
- char *location;
-
- tab = ephy_window_get_active_tab (window);
-
- embed = ephy_window_get_active_embed (window);
-
- location = ephy_embed_get_location (embed, FALSE);
-
- ephy_shell_new_tab (ephy_shell, NULL, tab,
- location,
- EPHY_NEW_TAB_OPEN_PAGE |
- EPHY_NEW_TAB_IN_NEW_WINDOW);
-
- g_free (location);
-}
-
static void
popup_cmd_copy_to_clipboard (EphyWindow *window, const char *text)
{
diff --git a/src/popup-commands.h b/src/popup-commands.h
index d0d6cc719..543967da9 100644
--- a/src/popup-commands.h
+++ b/src/popup-commands.h
@@ -31,15 +31,6 @@ void popup_cmd_link_in_new_tab (GtkAction *action,
void popup_cmd_bookmark_link (GtkAction *action,
EphyWindow *window);
-void popup_cmd_frame_in_new_tab (GtkAction *action,
- EphyWindow *window);
-
-void popup_cmd_frame_in_new_window (GtkAction *action,
- EphyWindow *window);
-
-void popup_cmd_add_frame_bookmark (GtkAction *action,
- EphyWindow *window);
-
void popup_cmd_view_source (GtkAction *action,
EphyWindow *window);