aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/importers/evolution-vcard-importer.c
diff options
context:
space:
mode:
authorDevashish Sharma <dsharma@src.gnome.org>2006-03-06 18:10:01 +0800
committerDevashish Sharma <dsharma@src.gnome.org>2006-03-06 18:10:01 +0800
commite5a38f3232986b53ab64b01655aa5732aaa371a2 (patch)
tree5c9eba641851600077808f6f01c87b460287c06a /addressbook/importers/evolution-vcard-importer.c
parentefea37666f7a61f329cbd12e0e9d09cff32d45da (diff)
downloadgsoc2013-evolution-e5a38f3232986b53ab64b01655aa5732aaa371a2.tar.gz
gsoc2013-evolution-e5a38f3232986b53ab64b01655aa5732aaa371a2.tar.zst
gsoc2013-evolution-e5a38f3232986b53ab64b01655aa5732aaa371a2.zip
Fix for Bug 332136.
svn path=/trunk/; revision=31656
Diffstat (limited to 'addressbook/importers/evolution-vcard-importer.c')
-rw-r--r--addressbook/importers/evolution-vcard-importer.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/addressbook/importers/evolution-vcard-importer.c b/addressbook/importers/evolution-vcard-importer.c
index ec63ed07a0..4e68e8b09c 100644
--- a/addressbook/importers/evolution-vcard-importer.c
+++ b/addressbook/importers/evolution-vcard-importer.c
@@ -481,13 +481,6 @@ vcard_import(EImport *ei, EImportTarget *target, EImportImporter *im)
return;
}
- if (!e_book_is_writable (book)) {
- g_message (G_STRLOC ":Book is readonly.");
- e_import_complete(ei, target);
- g_object_unref(book);
- return;
- }
-
if (!g_file_get_contents (filename, &contents, NULL, NULL)) {
g_message (G_STRLOC ":Couldn't read file.");
g_free (filename);
@@ -503,7 +496,7 @@ vcard_import(EImport *ei, EImportTarget *target, EImportImporter *im)
gci->target = target;
gci->book = book;
- e_book_open (gci->book, TRUE, NULL);
+ e_book_open (gci->book, FALSE, NULL);
if (encoding == VCARD_ENCODING_UTF16) {
gchar *tmp;