aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--src/ephy-lockdown.c2
2 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index ac35b8ec5..ec9bd925a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2006-11-10 Wouter Bolsterlee <wbolster@cvs.gnome.org>
+ * src/ephy-lockdown.c: (update_window):
+ Also disable the "Open Image" context menu action if the
+ desktop wide "disable save to disk" lockdown key is
+ enabled. Reported on IRC by Gerald E Butler.
+
+2006-11-10 Wouter Bolsterlee <wbolster@cvs.gnome.org>
+
* src/ephy-window.c:
Add some more F5 shortcuts to handle all the MSIE
"refresh page" bindings. Fixes bug #372906.
diff --git a/src/ephy-lockdown.c b/src/ephy-lockdown.c
index 10753d2af..5b00793a0 100644
--- a/src/ephy-lockdown.c
+++ b/src/ephy-lockdown.c
@@ -188,6 +188,8 @@ update_window (EphyWindow *window,
ephy_action_change_sensitivity_flags (action, LOCKDOWN_FLAG, disabled);
action = gtk_action_group_get_action (popups_action_group, "SaveImageAs");
ephy_action_change_sensitivity_flags (action, LOCKDOWN_FLAG, disabled);
+ action = gtk_action_group_get_action (popups_action_group, "OpenImage");
+ ephy_action_change_sensitivity_flags (action, LOCKDOWN_FLAG, disabled);
writable = eel_gconf_key_is_writable (CONF_DESKTOP_BG_PICTURE);
action = gtk_action_group_get_action (popups_action_group, "SetImageAsBackground");
ephy_action_change_sensitivity_flags (action, LOCKDOWN_FLAG, disabled || !writable);