From 91b1b557145ed88defb02d8495dc0d0580a53ea4 Mon Sep 17 00:00:00 2001 From: Iain Holmes Date: Thu, 4 Apr 2002 12:10:37 +0000 Subject: Make the preferences seperate from the views svn path=/trunk/; revision=16338 --- my-evolution/component-factory.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'my-evolution/component-factory.c') diff --git a/my-evolution/component-factory.c b/my-evolution/component-factory.c index fb7dbc8829..d16f6b077e 100644 --- a/my-evolution/component-factory.c +++ b/my-evolution/component-factory.c @@ -32,11 +32,14 @@ #include #include +#include + #include "e-summary-factory.h" #include "e-summary-offline-handler.h" #include "e-summary.h" +#include "e-summary-preferences.h" + #include "component-factory.h" -#include #define COMPONENT_ID "OAFIID:GNOME_Evolution_Summary_ShellComponent" #define COMPONENT_FACTORY_ID "OAFIID:GNOME_Evolution_Summary_ShellComponentFactory" @@ -89,9 +92,16 @@ owner_set_cb (EvolutionShellComponent *shell_component, const char *evolution_homedir, gpointer user_data) { + GNOME_Evolution_Shell corba_shell; + if (evolution_dir != NULL) { evolution_dir = g_strdup (evolution_homedir); } + + corba_shell = bonobo_object_corba_objref (BONOBO_OBJECT (shell_client)); + + e_summary_folder_init_folder_store (corba_shell); + e_summary_preferences_register_config_control_factory (); } static void -- cgit v1.2.3