aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-08-26 05:30:25 +0800
committerChristian Persch <chpe@src.gnome.org>2004-08-26 05:30:25 +0800
commitf1acc214a3e8a7593fde9fdc8bd984b1dc832603 (patch)
tree0852532e1602f4531ce72bc94d95829b7293078a
parent24a3397aa730dd8cf6c1d0951a8bd10084614f3c (diff)
downloadgsoc2013-epiphany-f1acc214a3e8a7593fde9fdc8bd984b1dc832603.tar
gsoc2013-epiphany-f1acc214a3e8a7593fde9fdc8bd984b1dc832603.tar.gz
gsoc2013-epiphany-f1acc214a3e8a7593fde9fdc8bd984b1dc832603.tar.bz2
gsoc2013-epiphany-f1acc214a3e8a7593fde9fdc8bd984b1dc832603.tar.lz
gsoc2013-epiphany-f1acc214a3e8a7593fde9fdc8bd984b1dc832603.tar.xz
gsoc2013-epiphany-f1acc214a3e8a7593fde9fdc8bd984b1dc832603.tar.zst
gsoc2013-epiphany-f1acc214a3e8a7593fde9fdc8bd984b1dc832603.zip
Make "FileSave" action obey lockdown too. Fixes bug #151039.
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.
-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");