aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--src/ephy-window.c2
2 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index a78c99af5..781f54254 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2004-08-26 Christian Persch <chpe@cvs.gnome.org>
+
+ * src/ephy-window.c: (update_actions_sensitivity):
+
+ Make "FileSave" action obey lockdown too. Fixes bug #151039.
+
2004-08-25 Christian Persch <chpe@cvs.gnome.org>
* configure.in:
diff --git a/src/ephy-window.c b/src/ephy-window.c
index 9204f35d1..7feff9d63 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -1040,6 +1040,8 @@ update_actions_sensitivity (EphyWindow *window)
save_to_disk = !eel_gconf_get_boolean (CONF_LOCKDOWN_DISABLE_SAVE_TO_DISK);
action = gtk_action_group_get_action (action_group, "FileSaveAs");
g_object_set (action, "sensitive", save_to_disk, NULL);
+ action = gtk_action_group_get_action (action_group, "FileSave");
+ g_object_set (action, "sensitive", save_to_disk, NULL);
action = gtk_action_group_get_action (popups_action_group, "DownloadLink");
g_object_set (action, "sensitive", save_to_disk, NULL);
action = gtk_action_group_get_action (popups_action_group, "SaveBackgroundAs");