aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-08-26 05:31:22 +0800
committerChristian Persch <chpe@src.gnome.org>2004-08-26 05:31:22 +0800
commitd236a86f3c48632d510be268a5fa64e43b9a0e43 (patch)
tree2deba79eeb5348c3901993e1b790793842c4eeb7
parent297db77e1cc9a70c9482b25c0912bd5698c3608c (diff)
downloadgsoc2013-epiphany-d236a86f3c48632d510be268a5fa64e43b9a0e43.tar
gsoc2013-epiphany-d236a86f3c48632d510be268a5fa64e43b9a0e43.tar.gz
gsoc2013-epiphany-d236a86f3c48632d510be268a5fa64e43b9a0e43.tar.bz2
gsoc2013-epiphany-d236a86f3c48632d510be268a5fa64e43b9a0e43.tar.lz
gsoc2013-epiphany-d236a86f3c48632d510be268a5fa64e43b9a0e43.tar.xz
gsoc2013-epiphany-d236a86f3c48632d510be268a5fa64e43b9a0e43.tar.zst
gsoc2013-epiphany-d236a86f3c48632d510be268a5fa64e43b9a0e43.zip
Make "FileSave" action obey lockdown too. Fixes bug #151039.
2004-08-25 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 47d81fc95..6a935bda7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2004-08-25 Christian Persch <chpe@cvs.gnome.org>
+
+ * src/ephy-window.c: (update_actions_sensitivity):
+
+ Make "FileSave" action obey lockdown too. Fixes bug #151039.
+
2004-08-23 Christian Persch <chpe@cvs.gnome.org>
* configure.in:
diff --git a/src/ephy-window.c b/src/ephy-window.c
index 096e0ca75..ea2672ed6 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -958,6 +958,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");