diff options
author | Dan Winship <danw@src.gnome.org> | 2000-08-11 08:03:08 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2000-08-11 08:03:08 +0800 |
commit | ebf505d16dda2946441e05b2bdb15c4055d448a2 (patch) | |
tree | 6f25b6347f5ac0431ea56762525e1880f40a064f /addressbook/gui/component/addressbook-component.c | |
parent | 6db1c7d22a7101f3758273f57fe88dcbe6ccc4f5 (diff) | |
download | gsoc2013-evolution-ebf505d16dda2946441e05b2bdb15c4055d448a2.tar gsoc2013-evolution-ebf505d16dda2946441e05b2bdb15c4055d448a2.tar.gz gsoc2013-evolution-ebf505d16dda2946441e05b2bdb15c4055d448a2.tar.bz2 gsoc2013-evolution-ebf505d16dda2946441e05b2bdb15c4055d448a2.tar.lz gsoc2013-evolution-ebf505d16dda2946441e05b2bdb15c4055d448a2.tar.xz gsoc2013-evolution-ebf505d16dda2946441e05b2bdb15c4055d448a2.tar.zst gsoc2013-evolution-ebf505d16dda2946441e05b2bdb15c4055d448a2.zip |
Update for changed prototype, pass evolution_homedir arg to
* gui/component/addressbook-component.c (owner_set_cb): Update for
changed prototype, pass evolution_homedir arg to
setup_ldap_storage.
* gui/component/e-ldap-storage.c (setup_ldap_storage): Now takes
an evolution_homedir arg, uses that to generate the path to the
ldapservers.xml file, and stores the result in a static variable.
(e_ldap_storage_add_server, e_ldap_storage_remove_server): Use that
static variable rather than hardcoding the path to the file.
svn path=/trunk/; revision=4713
Diffstat (limited to 'addressbook/gui/component/addressbook-component.c')
-rw-r--r-- | addressbook/gui/component/addressbook-component.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/addressbook/gui/component/addressbook-component.c b/addressbook/gui/component/addressbook-component.c index 665e77b78f..eeb9569a1b 100644 --- a/addressbook/gui/component/addressbook-component.c +++ b/addressbook/gui/component/addressbook-component.c @@ -80,11 +80,12 @@ static int owner_count = 0; static void owner_set_cb (EvolutionShellComponent *shell_component, EvolutionShellClient *shell_client, + const char *evolution_homedir, gpointer user_data) { owner_count ++; - setup_ldap_storage (shell_component); + setup_ldap_storage (shell_component, evolution_homedir); } static void |