aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDiego Escalante Urrelo <diegoe@gnome.org>2007-08-03 03:39:24 +0800
committerDiego Escalante Urrelo <diegoe@src.gnome.org>2007-08-03 03:39:24 +0800
commitfcd68f8832d3a534748efb50b166afbc40397a19 (patch)
tree79e581bc04a4c0c3644d0a8ea0687f2c7baff4cf /src
parent4502bbce6ccfe88f9a45692eb56d91317916c35e (diff)
downloadgsoc2013-epiphany-fcd68f8832d3a534748efb50b166afbc40397a19.tar
gsoc2013-epiphany-fcd68f8832d3a534748efb50b166afbc40397a19.tar.gz
gsoc2013-epiphany-fcd68f8832d3a534748efb50b166afbc40397a19.tar.bz2
gsoc2013-epiphany-fcd68f8832d3a534748efb50b166afbc40397a19.tar.lz
gsoc2013-epiphany-fcd68f8832d3a534748efb50b166afbc40397a19.tar.xz
gsoc2013-epiphany-fcd68f8832d3a534748efb50b166afbc40397a19.tar.zst
gsoc2013-epiphany-fcd68f8832d3a534748efb50b166afbc40397a19.zip
Remove "Add bookmark" and "Save as" from the document context menu. Patch
2007-08-02 Diego Escalante Urrelo <diegoe@gnome.org> * data/ui/epiphany-ui.xml: * src/ephy-window.c: * src/ephy-lockdown.c: Remove "Add bookmark" and "Save as" from the document context menu. Patch by Cosimo Cecchi. Part of bug #332968. svn path=/trunk/; revision=7239
Diffstat (limited to 'src')
-rw-r--r--src/ephy-lockdown.c2
-rw-r--r--src/ephy-window.c5
2 files changed, 0 insertions, 7 deletions
diff --git a/src/ephy-lockdown.c b/src/ephy-lockdown.c
index 9fee3f3e9..8e285d5a1 100644
--- a/src/ephy-lockdown.c
+++ b/src/ephy-lockdown.c
@@ -174,8 +174,6 @@ update_window (EphyWindow *window,
ephy_action_change_sensitivity_flags (action, LOCKDOWN_FLAG, disabled);
action = gtk_action_group_get_action (action_group, "FileBookmarkPage");
ephy_action_change_sensitivity_flags (action, LOCKDOWN_FLAG, disabled);
- action = gtk_action_group_get_action (popups_action_group, "ContextBookmarkPage");
- ephy_action_change_sensitivity_flags (action, LOCKDOWN_FLAG, disabled);
action = gtk_action_group_get_action (popups_action_group, "BookmarkLink");
ephy_action_change_sensitivity_flags (action, LOCKDOWN_FLAG, disabled);
diff --git a/src/ephy-window.c b/src/ephy-window.c
index c18d4fec1..6865c6909 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -295,11 +295,6 @@ static const GtkToggleActionEntry ephy_menu_toggle_entries [] =
};
static const GtkActionEntry ephy_popups_entries [] = {
- /* Document */
-
- { "ContextBookmarkPage", STOCK_ADD_BOOKMARK, N_("Add Boo_kmarkā€¦"), "<control>D",
- N_("Add a bookmark for the current page"),
- G_CALLBACK (window_cmd_file_bookmark_page) },
/* Framed document */