aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/component/addressbook-component.c
diff options
context:
space:
mode:
authorChris Toshok <toshok@helixcode.com>2000-07-06 02:26:05 +0800
committerChris Toshok <toshok@src.gnome.org>2000-07-06 02:26:05 +0800
commitca5704f99607dc1adf3d45387eb432a98500d3ab (patch)
tree0f450f01e659e4d6c6f7efdc49c1ff72967e54bb /addressbook/gui/component/addressbook-component.c
parent6cfd18ee1c0ac3ba06fdf1341e97bc8a6acd05ad (diff)
downloadgsoc2013-evolution-ca5704f99607dc1adf3d45387eb432a98500d3ab.tar
gsoc2013-evolution-ca5704f99607dc1adf3d45387eb432a98500d3ab.tar.gz
gsoc2013-evolution-ca5704f99607dc1adf3d45387eb432a98500d3ab.tar.bz2
gsoc2013-evolution-ca5704f99607dc1adf3d45387eb432a98500d3ab.tar.lz
gsoc2013-evolution-ca5704f99607dc1adf3d45387eb432a98500d3ab.tar.xz
gsoc2013-evolution-ca5704f99607dc1adf3d45387eb432a98500d3ab.tar.zst
gsoc2013-evolution-ca5704f99607dc1adf3d45387eb432a98500d3ab.zip
remove hack to read "uri" file from local directory.
2000-07-05 Chris Toshok <toshok@helixcode.com> * gui/component/addressbook.c (set_prop): remove hack to read "uri" file from local directory. * gui/component/Makefile.am (evolution_addressbook_SOURCES): add e-ldap-storage.{c,h} * gui/component/addressbook-component.c (owner_set_cb): call setup_ldap_storage. * gui/component/e-ldap-storage.c (setup_ldap_storage): Register the LDAP storage and load the .xml file. (load_ldap_data): function to load our xml file. (save_ldap_data): function to save our xml file. svn path=/trunk/; revision=3890
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.");
}
+