[evolution/webkit] Bug #638057 - Evolution --express doesn't remember status bar setting



commit 4297b2a10b7533d6140af3b5e3487e050ec2bd02
Author: Milan Crha <mcrha redhat com>
Date:   Fri Feb 11 14:46:13 2011 +0100

    Bug #638057 - Evolution --express doesn't remember status bar setting

 shell/e-shell-window-private.c |   14 ++++----------
 1 files changed, 4 insertions(+), 10 deletions(-)
---
diff --git a/shell/e-shell-window-private.c b/shell/e-shell-window-private.c
index 1c9ee99..6ad1875 100644
--- a/shell/e-shell-window-private.c
+++ b/shell/e-shell-window-private.c
@@ -427,20 +427,14 @@ e_shell_window_private_constructed (EShellWindow *shell_window)
 	key = "/apps/evolution/shell/view_defaults/sidebar_visible";
 	gconf_bridge_bind_property (bridge, key, object, "sidebar-visible");
 
-	if (e_shell_get_express_mode (shell)) {
-		const gchar *active_view;
-		gboolean taskbar_visible;
+	object = G_OBJECT (shell_window);
+	key = "/apps/evolution/shell/view_defaults/statusbar_visible";
+	gconf_bridge_bind_property (bridge, key, object, "taskbar-visible");
 
-		active_view = e_shell_window_get_active_view (shell_window);
-		taskbar_visible = (g_strcmp0 (active_view, "mail") == 0);
+	if (e_shell_get_express_mode (shell)) {
 		e_shell_window_set_switcher_visible (shell_window, FALSE);
-		e_shell_window_set_taskbar_visible (shell_window, taskbar_visible);
 	} else {
 		object = G_OBJECT (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");
 	}



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