From eb0f59091ad02c25b1335407463f277a8948f771 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Fri, 13 Nov 2009 11:43:17 -0500 Subject: 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. --- shell/e-shell-window-private.c | 6 +++--- 1 file 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. */ -- cgit