From 26112575da034a7a0a79ab2238a01304348eada5 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Fri, 1 Sep 2000 06:09:29 +0000 Subject: 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 --- addressbook/gui/component/e-ldap-storage.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'addressbook/gui/component') 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); -- cgit v1.2.3