aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2002-09-27 04:43:40 +0800
committerDan Winship <danw@src.gnome.org>2002-09-27 04:43:40 +0800
commit1dcca79ec4ade696bb31dd9d3914a92ab3fd0cef (patch)
treedc008aa4f6596ca5d322e4ec57aa82914151ffbd /addressbook/gui
parent15a08c668a6f86df06721a71455837891496bad2 (diff)
downloadgsoc2013-evolution-1dcca79ec4ade696bb31dd9d3914a92ab3fd0cef.tar
gsoc2013-evolution-1dcca79ec4ade696bb31dd9d3914a92ab3fd0cef.tar.gz
gsoc2013-evolution-1dcca79ec4ade696bb31dd9d3914a92ab3fd0cef.tar.bz2
gsoc2013-evolution-1dcca79ec4ade696bb31dd9d3914a92ab3fd0cef.tar.lz
gsoc2013-evolution-1dcca79ec4ade696bb31dd9d3914a92ab3fd0cef.tar.xz
gsoc2013-evolution-1dcca79ec4ade696bb31dd9d3914a92ab3fd0cef.tar.zst
gsoc2013-evolution-1dcca79ec4ade696bb31dd9d3914a92ab3fd0cef.zip
Change folder type to "contacts/ldap". (addressbook_storage_add_source):
* gui/component/addressbook-storage.c (load_source_data): Change folder type to "contacts/ldap". (addressbook_storage_add_source): Likewise. (create_ldap_folder): Check for type being "contacts" not ldap contacts, since the ldap-specific type doesn't appear in the menu. svn path=/trunk/; revision=18241
Diffstat (limited to 'addressbook/gui')
-rw-r--r--addressbook/gui/component/addressbook-storage.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/addressbook/gui/component/addressbook-storage.c b/addressbook/gui/component/addressbook-storage.c
index 95c132cbcf..dcff420a63 100644
--- a/addressbook/gui/component/addressbook-storage.c
+++ b/addressbook/gui/component/addressbook-storage.c
@@ -142,7 +142,7 @@ create_ldap_folder (EvolutionStorage *storage, const Bonobo_Listener listener,
const CORBA_char *description, const CORBA_char *parent_physical_uri,
gpointer data)
{
- if (strcmp (type, "ldap-contacts")) {
+ if (strcmp (type, "contacts")) {
notify_listener (listener, GNOME_Evolution_Storage_UNSUPPORTED_TYPE);
return;
}
@@ -459,7 +459,7 @@ load_source_data (const char *file_path)
path = g_strdup_printf ("/%s", source->name);
evolution_storage_new_folder (storage, path, source->name,
- "ldap-contacts", source->uri,
+ "contacts/ldap", source->uri,
source->description, NULL, 0, FALSE, 0);
sources = g_list_append (sources, source);
@@ -578,7 +578,7 @@ addressbook_storage_add_source (AddressbookSource *source)
/* And then to the ui */
addressbook_get_other_contact_storage();
path = g_strdup_printf ("/%s", source->name);
- evolution_storage_new_folder (storage, path, source->name, "ldap-contacts",
+ evolution_storage_new_folder (storage, path, source->name, "contacts/ldap",
source->uri, source->description, NULL, 0, FALSE, 0);
g_free (path);