aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--shell/e-shell-window-private.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/shell/e-shell-window-private.c b/shell/e-shell-window-private.c
index 4a11395e09..d380d25021 100644
--- a/shell/e-shell-window-private.c
+++ b/shell/e-shell-window-private.c
@@ -418,9 +418,13 @@ e_shell_window_private_constructed (EShellWindow *shell_window)
key = "/apps/evolution/shell/view_defaults/statusbar_visible";
gconf_bridge_bind_property (bridge, key, object, "taskbar-visible");
- object = G_OBJECT (shell_window);
- key = "/apps/evolution/shell/view_defaults/buttons_visible";
- gconf_bridge_bind_property (bridge, key, object, "switcher-visible");
+ if (e_shell_get_express_mode(NULL)) {
+ e_shell_window_set_switcher_visible (shell_window, FALSE);
+ } else {
+ object = G_OBJECT (shell_window);
+ key = "/apps/evolution/shell/view_defaults/buttons_visible";
+ gconf_bridge_bind_property (bridge, key, object, "switcher-visible");
+ }
object = G_OBJECT (shell_window);
key = "/apps/evolution/shell/view_defaults/toolbar_visible";