diff options
author | Wouter Bolsterlee <wbolster@cvs.gnome.org> | 2006-11-10 22:49:57 +0800 |
---|---|---|
committer | Wouter Bolsterlee <wbolster@src.gnome.org> | 2006-11-10 22:49:57 +0800 |
commit | c78a3dd23bedb9826731708ffea75c19cabfcb47 (patch) | |
tree | 1cc35f6791c6830c27eb5ac2117e318d1f7a69b4 /src | |
parent | 66583b3c9ca084abf734b50026ef5c7a6359d5fd (diff) | |
download | gsoc2013-epiphany-c78a3dd23bedb9826731708ffea75c19cabfcb47.tar.gz gsoc2013-epiphany-c78a3dd23bedb9826731708ffea75c19cabfcb47.tar.zst gsoc2013-epiphany-c78a3dd23bedb9826731708ffea75c19cabfcb47.zip |
Also disable the "Open Image" context menu action if the desktop wide
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/ephy-lockdown.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); |