aboutsummaryrefslogtreecommitdiffstats
path: root/mail/importers
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@ximian.com>2003-04-03 00:35:27 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2003-04-03 00:35:27 +0800
commit6efa5995601bd8be05e8623e5383a723944d6adc (patch)
treec78aeb04aabf18304b4807b5f09016cb154f5f30 /mail/importers
parente3a5f12e105c8b336b8494182d3b20e468b1d3ba (diff)
downloadgsoc2013-evolution-6efa5995601bd8be05e8623e5383a723944d6adc.tar
gsoc2013-evolution-6efa5995601bd8be05e8623e5383a723944d6adc.tar.gz
gsoc2013-evolution-6efa5995601bd8be05e8623e5383a723944d6adc.tar.bz2
gsoc2013-evolution-6efa5995601bd8be05e8623e5383a723944d6adc.tar.lz
gsoc2013-evolution-6efa5995601bd8be05e8623e5383a723944d6adc.tar.xz
gsoc2013-evolution-6efa5995601bd8be05e8623e5383a723944d6adc.tar.zst
gsoc2013-evolution-6efa5995601bd8be05e8623e5383a723944d6adc.zip
added "folder_type" parameter to EvolutionImporterLoadFileFn.
2003-04-02 Rodrigo Moya <rodrigo@ximian.com> * importers/evolution-mbox-importer.c (load_file_fn): * importers/evolution-outlook-importer.c (load_file_fn): added "folder_type" parameter to EvolutionImporterLoadFileFn. * importers/elm-importer.c (elm_import_file): pass empty string for "folder_type" argument to GNOME_Evolution_Importer_loadFile. * importers/pine-importer.c (pine_import_file): ditto. * importers/netscape-importer.c (netscape_import_file): ditto. svn path=/trunk/; revision=20645
Diffstat (limited to 'mail/importers')
-rw-r--r--mail/importers/elm-importer.c2
-rw-r--r--mail/importers/evolution-mbox-importer.c1
-rw-r--r--mail/importers/evolution-outlook-importer.c1
-rw-r--r--mail/importers/netscape-importer.c2
-rw-r--r--mail/importers/pine-importer.c2
5 files changed, 5 insertions, 3 deletions
diff --git a/mail/importers/elm-importer.c b/mail/importers/elm-importer.c
index 730167243f..bfe2ffcd95 100644
--- a/mail/importers/elm-importer.c
+++ b/mail/importers/elm-importer.c
@@ -173,7 +173,7 @@ elm_import_file (ElmImporter *importer,
CORBA_exception_init(&ev);
- result = GNOME_Evolution_Importer_loadFile (importer->importer, path, uri, &ev);
+ result = GNOME_Evolution_Importer_loadFile (importer->importer, path, uri, "", &ev);
g_free(uri);
if (ev._major != CORBA_NO_EXCEPTION || result == FALSE) {
g_warning ("Exception here: %s", CORBA_exception_id (&ev));
diff --git a/mail/importers/evolution-mbox-importer.c b/mail/importers/evolution-mbox-importer.c
index 9cbcdeb9de..ef31667e64 100644
--- a/mail/importers/evolution-mbox-importer.c
+++ b/mail/importers/evolution-mbox-importer.c
@@ -241,6 +241,7 @@ static gboolean
load_file_fn (EvolutionImporter *eimporter,
const char *filename,
const char *uri,
+ const char *folder_type,
void *closure)
{
MboxImporter *mbi;
diff --git a/mail/importers/evolution-outlook-importer.c b/mail/importers/evolution-outlook-importer.c
index f0c697c6b6..1b250fc8ff 100644
--- a/mail/importers/evolution-outlook-importer.c
+++ b/mail/importers/evolution-outlook-importer.c
@@ -225,6 +225,7 @@ static gboolean
load_file_fn (EvolutionImporter *eimporter,
const char *filename,
const char *uri,
+ const char *folder_type,
void *closure)
{
OutlookImporter *oli;
diff --git a/mail/importers/netscape-importer.c b/mail/importers/netscape-importer.c
index cb0f430299..071620c144 100644
--- a/mail/importers/netscape-importer.c
+++ b/mail/importers/netscape-importer.c
@@ -1766,7 +1766,7 @@ netscape_import_file (NsImporter *importer,
if (!uri)
return FALSE;
- result = GNOME_Evolution_Importer_loadFile (importer->importer, path, uri, &ev);
+ result = GNOME_Evolution_Importer_loadFile (importer->importer, path, uri, "", &ev);
g_free(uri);
if (ev._major != CORBA_NO_EXCEPTION || result == FALSE) {
g_warning ("Exception here: %s", CORBA_exception_id (&ev));
diff --git a/mail/importers/pine-importer.c b/mail/importers/pine-importer.c
index 2368c0c12f..54ffe2e51c 100644
--- a/mail/importers/pine-importer.c
+++ b/mail/importers/pine-importer.c
@@ -302,7 +302,7 @@ pine_import_file (PineImporter *importer,
return FALSE;
}
- result = GNOME_Evolution_Importer_loadFile (importer->importer, path, uri, &ev);
+ result = GNOME_Evolution_Importer_loadFile (importer->importer, path, uri, "", &ev);
g_free(uri);
if (ev._major != CORBA_NO_EXCEPTION || result == FALSE) {
g_warning ("Exception here: %s\n%s, %s", CORBA_exception_id (&ev), path, folderpath);