aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2000-09-01 14:09:29 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2000-09-01 14:09:29 +0800
commit26112575da034a7a0a79ab2238a01304348eada5 (patch)
treeef90667e30709a4f74fe931be9f27b56b9baf2e2 /addressbook
parent7df49391da6f67a7c1abee662e0d3a2c18ea9c36 (diff)
downloadgsoc2013-evolution-26112575da034a7a0a79ab2238a01304348eada5.tar.gz
gsoc2013-evolution-26112575da034a7a0a79ab2238a01304348eada5.tar.zst
gsoc2013-evolution-26112575da034a7a0a79ab2238a01304348eada5.zip
Changed `Evolution::Storage' so that the displayed name for a folder
is decoupled from its path, and updated all the components accordingly. svn path=/trunk/; revision=5159
Diffstat (limited to 'addressbook')
-rw-r--r--addressbook/ChangeLog6
-rw-r--r--addressbook/gui/component/e-ldap-storage.c5
2 files changed, 9 insertions, 2 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index b99ff7e04b..51db4eef14 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,9 @@
+2000-09-01 Ettore Perazzoli <ettore@helixcode.com>
+
+ * gui/component/e-ldap-storage.c (load_ldap_data): Updated for the
+ extra arg now needed by `evolution_storage_new_folder()'.
+ (e_ldap_storage_add_server): Likewise.
+
2000-08-31 Ettore Perazzoli <ettore@helixcode.com>
* conduit/Makefile.am (INCLUDES): Add `BONOBO_GNOME_CFLAGS' and
diff --git a/addressbook/gui/component/e-ldap-storage.c b/addressbook/gui/component/e-ldap-storage.c
index aa1e153a2a..be9b085f7d 100644
--- a/addressbook/gui/component/e-ldap-storage.c
+++ b/addressbook/gui/component/e-ldap-storage.c
@@ -186,7 +186,8 @@ load_ldap_data (EvolutionStorage *storage,
server->uri = g_strdup_printf ("ldap://%s:%s/%s??%s", server->host, server->port, server->rootdn, server->scope);
path = g_strdup_printf ("/%s", server->name);
- evolution_storage_new_folder (storage, path, "contacts", server->uri, server->description);
+ evolution_storage_new_folder (storage, path, server->name,
+ "contacts", server->uri, server->description);
g_hash_table_insert (servers, server->name, server);
@@ -277,7 +278,7 @@ e_ldap_storage_add_server (ELDAPServer *server)
/* and then to the ui */
path = g_strdup_printf ("/%s", server->name);
- evolution_storage_new_folder (storage, path, "contacts", server->uri, server->description);
+ evolution_storage_new_folder (storage, path, server->name, "contacts", server->uri, server->description);
g_free (path);