aboutsummaryrefslogtreecommitdiffstats
path: root/my-evolution/component-factory.c
diff options
context:
space:
mode:
authorIain Holmes <iain@src.gnome.org>2002-04-04 20:10:37 +0800
committerIain Holmes <iain@src.gnome.org>2002-04-04 20:10:37 +0800
commit91b1b557145ed88defb02d8495dc0d0580a53ea4 (patch)
tree7c6d8e4a6a7cf770083b59ec9769b719fa9166f2 /my-evolution/component-factory.c
parentc763b8c63074f35553d46c91cc2ca0b7f1d74830 (diff)
downloadgsoc2013-evolution-91b1b557145ed88defb02d8495dc0d0580a53ea4.tar.gz
gsoc2013-evolution-91b1b557145ed88defb02d8495dc0d0580a53ea4.tar.zst
gsoc2013-evolution-91b1b557145ed88defb02d8495dc0d0580a53ea4.zip
Make the preferences seperate from the views
svn path=/trunk/; revision=16338
Diffstat (limited to 'my-evolution/component-factory.c')
-rw-r--r--my-evolution/component-factory.c12
1 files changed, 11 insertions, 1 deletions
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 <shell/evolution-shell-component.h>
#include <shell/Evolution.h>
+#include <gal/widgets/e-gui-utils.h>
+
#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 <gal/widgets/e-gui-utils.h>
#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