aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorFridrich Strba <fridrich.strba@bluewin.ch>2010-03-21 07:12:01 +0800
committerFridrich Štrba <fridrich.strba@bluewin.ch>2010-04-08 05:49:18 +0800
commit3dfd9aa7c4b24f8971382dcc5278714956066ff8 (patch)
tree5de9c4c39898f1edc9e2ef7372e43039e49119eb /shell
parentf07352c5b344cb7f254a41695909622a759efe86 (diff)
downloadgsoc2013-evolution-3dfd9aa7c4b24f8971382dcc5278714956066ff8.tar
gsoc2013-evolution-3dfd9aa7c4b24f8971382dcc5278714956066ff8.tar.gz
gsoc2013-evolution-3dfd9aa7c4b24f8971382dcc5278714956066ff8.tar.bz2
gsoc2013-evolution-3dfd9aa7c4b24f8971382dcc5278714956066ff8.tar.lz
gsoc2013-evolution-3dfd9aa7c4b24f8971382dcc5278714956066ff8.tar.xz
gsoc2013-evolution-3dfd9aa7c4b24f8971382dcc5278714956066ff8.tar.zst
gsoc2013-evolution-3dfd9aa7c4b24f8971382dcc5278714956066ff8.zip
[win32] Be consistent in disabling the lockdown options.
Diffstat (limited to 'shell')
-rw-r--r--shell/e-shell-utils.c2
-rw-r--r--shell/e-shell-window-private.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/shell/e-shell-utils.c b/shell/e-shell-utils.c
index a584289d20..c7b296931c 100644
--- a/shell/e-shell-utils.c
+++ b/shell/e-shell-utils.c
@@ -70,6 +70,7 @@ e_shell_configure_web_view (EShell *shell,
shell_settings = e_shell_get_shell_settings (shell);
+#ifndef G_OS_WIN32
e_binding_new (
shell_settings, "disable-printing",
web_view, "disable-printing");
@@ -77,6 +78,7 @@ e_shell_configure_web_view (EShell *shell,
e_binding_new (
shell_settings, "disable-save-to-disk",
web_view, "disable-save-to-disk");
+#endif
}
/**
diff --git a/shell/e-shell-window-private.c b/shell/e-shell-window-private.c
index c4389ab3bc..faccac8052 100644
--- a/shell/e-shell-window-private.c
+++ b/shell/e-shell-window-private.c
@@ -359,6 +359,7 @@ e_shell_window_private_constructed (EShellWindow *shell_window)
shell_window, "notify::active-view",
G_CALLBACK (e_shell_window_update_search_menu), NULL);
+#ifndef G_OS_WIN32
/* Support lockdown. */
action_group = ACTION_GROUP (LOCKDOWN_PRINTING);
@@ -378,6 +379,7 @@ e_shell_window_private_constructed (EShellWindow *shell_window)
e_binding_new_with_negation (
shell_settings, "disable-save-to-disk",
action_group, "visible");
+#endif
/* Bind GObject properties to GObject properties. */