aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/component/addressbook-component.c
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook/gui/component/addressbook-component.c')
-rw-r--r--addressbook/gui/component/addressbook-component.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/addressbook/gui/component/addressbook-component.c b/addressbook/gui/component/addressbook-component.c
index 8469967e7c..b6b682d18d 100644
--- a/addressbook/gui/component/addressbook-component.c
+++ b/addressbook/gui/component/addressbook-component.c
@@ -32,6 +32,7 @@
#include "addressbook-component.h"
#include "addressbook.h"
+#include "e-ldap-storage.h"
#ifdef USING_OAF
@@ -47,6 +48,10 @@ static const EvolutionShellComponentFolderType folder_types[] = {
{ NULL, NULL }
};
+#ifdef HAVE_LDAP
+extern void setup_ldap_storage (EvolutionShellComponent *shell_component);
+#endif
+
/* EvolutionShellComponent methods and signals. */
@@ -78,6 +83,8 @@ owner_set_cb (EvolutionShellComponent *shell_component,
gpointer user_data)
{
owner_count ++;
+
+ setup_ldap_storage (shell_component);
}
static void
@@ -122,3 +129,4 @@ addressbook_component_factory_init (void)
if (factory == NULL)
g_error ("Cannot initialize the Evolution addressbook factory.");
}
+