aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDevashish Sharma <dsharma@src.gnome.org>2006-01-16 15:15:52 +0800
committerDevashish Sharma <dsharma@src.gnome.org>2006-01-16 15:15:52 +0800
commit91dd88e567784f9ee794ae5789eff8d2f4d89718 (patch)
tree8fe310dd236e7ae9121e7e6f3cd699dd22a5d69a
parent3f92713d77274237fb42929660d67cb0b83ec521 (diff)
downloadgsoc2013-evolution-91dd88e567784f9ee794ae5789eff8d2f4d89718.tar
gsoc2013-evolution-91dd88e567784f9ee794ae5789eff8d2f4d89718.tar.gz
gsoc2013-evolution-91dd88e567784f9ee794ae5789eff8d2f4d89718.tar.bz2
gsoc2013-evolution-91dd88e567784f9ee794ae5789eff8d2f4d89718.tar.lz
gsoc2013-evolution-91dd88e567784f9ee794ae5789eff8d2f4d89718.tar.xz
gsoc2013-evolution-91dd88e567784f9ee794ae5789eff8d2f4d89718.tar.zst
gsoc2013-evolution-91dd88e567784f9ee794ae5789eff8d2f4d89718.zip
Added support for CSV and TAB file import.
svn path=/trunk/; revision=31197
-rw-r--r--addressbook/ChangeLog5
-rw-r--r--addressbook/gui/component/addressbook-component.c3
-rw-r--r--addressbook/importers/Makefile.am1
-rw-r--r--addressbook/importers/evolution-addressbook-importers.h3
4 files changed, 12 insertions, 0 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index dc6aadb1f3..a71f0c30c3 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,8 @@
+2005-01-16 Devashish Sharma <sdevashish@novell.com>
+
+ * importers/evolution-csv-importer.c : Added support for CSV and TAB
+ file import.
+
2006-01-16 Devashish Sharma <sdevashish@novell.com>
* gui/contact-editor/e-contact-editor.c (full_name_clicked) : Setting
diff --git a/addressbook/gui/component/addressbook-component.c b/addressbook/gui/component/addressbook-component.c
index 72eedac8aa..9fd0180449 100644
--- a/addressbook/gui/component/addressbook-component.c
+++ b/addressbook/gui/component/addressbook-component.c
@@ -484,6 +484,9 @@ addressbook_component_init (AddressbookComponent *component)
klass = g_type_class_ref(e_import_get_type());
e_import_class_add_importer(klass, evolution_ldif_importer_peek(), NULL, NULL);
e_import_class_add_importer(klass, evolution_vcard_importer_peek(), NULL, NULL);
+ e_import_class_add_importer(klass, evolution_csv_outlook_importer_peek(), NULL, NULL);
+ e_import_class_add_importer(klass, evolution_csv_mozilla_importer_peek(), NULL, NULL);
+ e_import_class_add_importer(klass, evolution_csv_evolution_importer_peek(), NULL, NULL);
}
}
diff --git a/addressbook/importers/Makefile.am b/addressbook/importers/Makefile.am
index a33f851ea6..d49b8b2d8e 100644
--- a/addressbook/importers/Makefile.am
+++ b/addressbook/importers/Makefile.am
@@ -14,6 +14,7 @@ INCLUDES = \
libevolution_addressbook_importers_la_SOURCES = \
evolution-ldif-importer.c \
evolution-vcard-importer.c \
+ evolution-csv-importer.c \
evolution-addressbook-importers.h
libevolution_addressbook_importers_la_LDFLAGS = $(NO_UNDEFINED)
diff --git a/addressbook/importers/evolution-addressbook-importers.h b/addressbook/importers/evolution-addressbook-importers.h
index 8cff54473f..b571060b06 100644
--- a/addressbook/importers/evolution-addressbook-importers.h
+++ b/addressbook/importers/evolution-addressbook-importers.h
@@ -1,3 +1,6 @@
struct _EImportImporter *evolution_ldif_importer_peek(void);
struct _EImportImporter *evolution_vcard_importer_peek(void);
+struct _EImportImporter *evolution_csv_outlook_importer_peek(void);
+struct _EImportImporter *evolution_csv_mozilla_importer_peek(void);
+struct _EImportImporter *evolution_csv_evolution_importer_peek(void);