[evolution] Hide switcher in express mode.



commit 3d95369f38b22dea1fc22bb3f2cf306ae82aed9d
Author: Srinivasa Ragavan <sragavan gnome org>
Date:   Wed Mar 3 15:02:34 2010 +0530

    Hide switcher in express mode.

 shell/e-shell-window-private.c |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/shell/e-shell-window-private.c b/shell/e-shell-window-private.c
index 4a11395..d380d25 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";



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]