[evolution] Hide actions when lockdown settings are enabled.
- From: Matthew Barnes <mbarnes src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [evolution] Hide actions when lockdown settings are enabled.
- Date: Fri, 13 Nov 2009 16:45:57 +0000 (UTC)
commit eb0f59091ad02c25b1335407463f277a8948f771
Author: Matthew Barnes <mbarnes redhat com>
Date: Fri Nov 13 11:43:17 2009 -0500
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 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/shell/e-shell-window-private.c b/shell/e-shell-window-private.c
index 1677d65..4025a93 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. */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]