aboutsummaryrefslogtreecommitdiffstats
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
parent4502bbce6ccfe88f9a45692eb56d91317916c35e (diff)
downloadgsoc2013-epiphany-fcd68f8832d3a534748efb50b166afbc40397a19.tar.gz
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
-rw-r--r--ChangeLog9
-rw-r--r--data/ui/epiphany-ui.xml3
-rw-r--r--src/ephy-lockdown.c2
-rw-r--r--src/ephy-window.c5
4 files changed, 9 insertions, 10 deletions
diff --git a/ChangeLog b/ChangeLog
index 1b89fadac..31643667f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+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.
+
2007-08-01 Diego Escalante Urrelo <diegoe@gnome.org>
* src/ephy-completion-model.c:
diff --git a/data/ui/epiphany-ui.xml b/data/ui/epiphany-ui.xml
index 95bc9b691..2ba404b4a 100644
--- a/data/ui/epiphany-ui.xml
+++ b/data/ui/epiphany-ui.xml
@@ -126,9 +126,6 @@
<separator />
<menuitem name="EditCopyDP" action="EditCopy"/>
<separator />
- <menuitem name="SavePageAsDP" action="FileSaveAs"/>
- <menuitem name="BookmarkPageDP" action="ContextBookmarkPage"/>
- <separator />
<menuitem name="OpenFrameFDP" action="OpenFrame"/>
<separator />
<menuitem name="OpenImageDP" action="OpenImage"/>
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 */