[Commits] ldifexport_extension.c 1.5 1.6
miras at claws-mail.org
miras at claws-mail.org
Sat Dec 17 03:54:27 CET 2011
Update of /home/claws-mail/contacts/extensions/export
In directory claws-mail:/tmp/cvs-serv17412/extensions/export
Modified Files:
ldifexport_extension.c
Log Message:
2011-12-17 [mir] 0.6.0cvs49
* extensions/export/ldifexport_extension.c
Removed function since it is now present in utils.
Index: ldifexport_extension.c
===================================================================
RCS file: /home/claws-mail/contacts/extensions/export/ldifexport_extension.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- ldifexport_extension.c 13 Dec 2011 14:56:29 -0000 1.5
+++ ldifexport_extension.c 17 Dec 2011 02:54:25 -0000 1.6
@@ -61,21 +61,6 @@
GtkWidget* action;
MainWindow* Main = NULL;
-static const gchar* native2ldap(const gchar* attr) {
- if (strcasecmp(attr, "email") == 0)
- return "mail";
- else if (strcasecmp(attr, "first-name") == 0)
- return "givenName";
- else if (strcasecmp(attr, "last-name") == 0)
- return "sn";
- else if (strcasecmp(attr, "nick-name") == 0)
- return "displayName";
- else if (strcasecmp(attr, "image") == 0)
- return "jpegPhoto";
- else
- return attr;
-}
-
static gchar* get_dn(Contact* contact, ExportData* data) {
gchar *tmp = NULL, *dn = NULL;
@@ -297,7 +282,6 @@
menu_item->sublabel = "_Export";
menu_item->submenu = TRUE;
add_menu_item(GTK_IMAGE_MENU_ITEM(menu), menu_item);
-
}
/**
More information about the Commits
mailing list