From f1acc214a3e8a7593fde9fdc8bd984b1dc832603 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Wed, 25 Aug 2004 21:30:25 +0000 Subject: Make "FileSave" action obey lockdown too. Fixes bug #151039. 2004-08-26 Christian Persch * src/ephy-window.c: (update_actions_sensitivity): Make "FileSave" action obey lockdown too. Fixes bug #151039. --- ChangeLog | 6 ++++++ src/ephy-window.c | 2 ++ 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index a78c99af5..781f54254 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2004-08-26 Christian Persch + + * src/ephy-window.c: (update_actions_sensitivity): + + Make "FileSave" action obey lockdown too. Fixes bug #151039. + 2004-08-25 Christian Persch * 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"); -- cgit v1.2.3