[evolution/express2] don't bridge to the active-view gconf setting



commit 2d68130cad1642c1995f3d4e8c3bc18b77977213
Author: Michael Meeks <michael meeks novell com>
Date:   Tue Apr 27 17:47:57 2010 +0100

    don't bridge to the active-view gconf setting

 shell/e-shell-window-private.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/shell/e-shell-window-private.c b/shell/e-shell-window-private.c
index be5064a..6878ff7 100644
--- a/shell/e-shell-window-private.c
+++ b/shell/e-shell-window-private.c
@@ -432,7 +432,9 @@ e_shell_window_private_constructed (EShellWindow *shell_window)
 
 	object = G_OBJECT (shell_window);
 	key = "/apps/evolution/shell/view_defaults/component_id";
-	gconf_bridge_bind_property (bridge, key, object, "active-view");
+	g_object_set (object, "active-view",
+		      gconf_client_get_string (e_shell_get_gconf_client (shell), key, NULL),
+		      NULL);
 
 	object = G_OBJECT (priv->content_pane);
 	key = "/apps/evolution/shell/view_defaults/folder_bar/width";



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