aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-window-private.c
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@gnome.org>2010-03-03 17:32:34 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-03-14 09:52:51 +0800
commit3d95369f38b22dea1fc22bb3f2cf306ae82aed9d (patch)
tree6060c11210b93fee953891cbddf73ae21e0aa360 /shell/e-shell-window-private.c
parent836958c07600f5834e080424948cd61206a5c519 (diff)
downloadgsoc2013-evolution-3d95369f38b22dea1fc22bb3f2cf306ae82aed9d.tar
gsoc2013-evolution-3d95369f38b22dea1fc22bb3f2cf306ae82aed9d.tar.gz
gsoc2013-evolution-3d95369f38b22dea1fc22bb3f2cf306ae82aed9d.tar.bz2
gsoc2013-evolution-3d95369f38b22dea1fc22bb3f2cf306ae82aed9d.tar.lz
gsoc2013-evolution-3d95369f38b22dea1fc22bb3f2cf306ae82aed9d.tar.xz
gsoc2013-evolution-3d95369f38b22dea1fc22bb3f2cf306ae82aed9d.tar.zst
gsoc2013-evolution-3d95369f38b22dea1fc22bb3f2cf306ae82aed9d.zip
Hide switcher in express mode.
Diffstat (limited to 'shell/e-shell-window-private.c')
-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";