diff options
-rw-r--r-- | ChangeLog | 9 | ||||
-rw-r--r-- | data/ui/epiphany-ui.xml | 3 | ||||
-rw-r--r-- | src/ephy-lockdown.c | 2 | ||||
-rw-r--r-- | src/ephy-window.c | 5 |
4 files changed, 9 insertions, 10 deletions
@@ -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 */ |