[evolution] Revert "don't bridge to the active-view gconf setting"



commit 7f51095908ab0332ca2722beceffbcb123eefc1c
Author: Matthew Barnes <mbarnes redhat com>
Date:   Thu May 27 11:19:52 2010 -0400

    Revert "don't bridge to the active-view gconf setting"
    
    This reverts commit 2d68130cad1642c1995f3d4e8c3bc18b77977213.
    
    Need to fix GConfBridge instead.

 shell/e-shell-window-private.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/shell/e-shell-window-private.c b/shell/e-shell-window-private.c
index 6e47132..a2b8cce 100644
--- a/shell/e-shell-window-private.c
+++ b/shell/e-shell-window-private.c
@@ -432,9 +432,7 @@ e_shell_window_private_constructed (EShellWindow *shell_window)
 
 	object = G_OBJECT (shell_window);
 	key = "/apps/evolution/shell/view_defaults/component_id";
-	g_object_set (object, "active-view",
-		      gconf_client_get_string (e_shell_get_gconf_client (shell), key, NULL),
-		      NULL);
+	gconf_bridge_bind_property (bridge, key, object, "active-view");
 
 	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]