diff options
Diffstat (limited to 'addressbook/backend/ebook')
-rw-r--r-- | addressbook/backend/ebook/evolution-ldif-importer.c | 7 | ||||
-rw-r--r-- | addressbook/backend/ebook/evolution-vcard-importer.c | 6 |
2 files changed, 12 insertions, 1 deletions
diff --git a/addressbook/backend/ebook/evolution-ldif-importer.c b/addressbook/backend/ebook/evolution-ldif-importer.c index 60ac899e81..d792a74172 100644 --- a/addressbook/backend/ebook/evolution-ldif-importer.c +++ b/addressbook/backend/ebook/evolution-ldif-importer.c @@ -460,7 +460,7 @@ ebook_create (LDIFImporter *gci) __FUNCTION__); return; } - +#if 0 path = g_concat_dir_and_file (g_get_home_dir (), "evolution/local/Contacts/addressbook.db"); uri = g_strdup_printf ("file://%s", path); @@ -470,6 +470,11 @@ ebook_create (LDIFImporter *gci) printf ("error calling load_uri!\n"); } g_free(uri); +#endif + + if (! e_book_load_default_book (gci->book, book_open_cb, gci)) { + g_warning ("Error calling load_default_book"); + } } /* EvolutionImporter methods */ diff --git a/addressbook/backend/ebook/evolution-vcard-importer.c b/addressbook/backend/ebook/evolution-vcard-importer.c index e32593b4fb..9e0a475977 100644 --- a/addressbook/backend/ebook/evolution-vcard-importer.c +++ b/addressbook/backend/ebook/evolution-vcard-importer.c @@ -58,6 +58,7 @@ ebook_create (VCardImporter *gci) return; } +#if 0 path = g_concat_dir_and_file (g_get_home_dir (), "evolution/local"); uri = g_strdup_printf ("file://%s", path); g_free (path); @@ -71,6 +72,11 @@ ebook_create (VCardImporter *gci) printf ("error calling load_uri!\n"); } g_free(uri); +#endif + + if (! e_book_load_default_book (gci->book, book_open_cb, gci)) { + g_warning ("Error calling load_default_book"); + } } /* EvolutionImporter methods */ |