aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-11-14 00:43:17 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-11-14 00:43:17 +0800
commiteb0f59091ad02c25b1335407463f277a8948f771 (patch)
treeec38f591c47c2e05659bd512cadc21bb0720008c
parentc5e04ca04066ae2d92d3999626ef91d5d0606cab (diff)
downloadgsoc2013-evolution-eb0f59091ad02c25b1335407463f277a8948f771.tar
gsoc2013-evolution-eb0f59091ad02c25b1335407463f277a8948f771.tar.gz
gsoc2013-evolution-eb0f59091ad02c25b1335407463f277a8948f771.tar.bz2
gsoc2013-evolution-eb0f59091ad02c25b1335407463f277a8948f771.tar.lz
gsoc2013-evolution-eb0f59091ad02c25b1335407463f277a8948f771.tar.xz
gsoc2013-evolution-eb0f59091ad02c25b1335407463f277a8948f771.tar.zst
gsoc2013-evolution-eb0f59091ad02c25b1335407463f277a8948f771.zip
Hide actions when lockdown settings are enabled.
Hide actions that are disabled by lockdown settings instead of showing them as disabled. Showing them as disabled gives the impression the user can do something to enable them, which is not the case here.
-rw-r--r--shell/e-shell-window-private.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/shell/e-shell-window-private.c b/shell/e-shell-window-private.c
index 1677d657ba..4025a934f3 100644
--- a/shell/e-shell-window-private.c
+++ b/shell/e-shell-window-private.c
@@ -354,19 +354,19 @@ e_shell_window_private_constructed (EShellWindow *shell_window)
e_binding_new_with_negation (
shell_settings, "disable-printing",
- action_group, "sensitive");
+ action_group, "visible");
action_group = ACTION_GROUP (LOCKDOWN_PRINT_SETUP);
e_binding_new_with_negation (
shell_settings, "disable-print-setup",
- action_group, "sensitive");
+ action_group, "visible");
action_group = ACTION_GROUP (LOCKDOWN_SAVE_TO_DISK);
e_binding_new_with_negation (
shell_settings, "disable-save-to-disk",
- action_group, "sensitive");
+ action_group, "visible");
/* Bind GObject properties to GObject properties. */