[Commits] vcard-extension.c 1.6 1.7

miras at claws-mail.org miras at claws-mail.org
Sun Jan 27 19:45:06 CET 2013


Update of /home/claws-mail/contacts/extensions/vcard/src
In directory srv:/tmp/cvs-serv17628/extensions/vcard/src

Modified Files:
	vcard-extension.c 
Log Message:
2013-01-27 [mir]	0.6.0cvs90

	* extensions/vcard/src/vcard-extension.c
	* libversit/vcard-utils.c
	* libversit/vcard-utils.h
	* src/extension-loader.h
	    Fix some compile time warnings
	    Remove result popup from import if
	    vcf file cannot be parsed 

Index: vcard-extension.c
===================================================================
RCS file: /home/claws-mail/contacts/extensions/vcard/src/vcard-extension.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- vcard-extension.c	25 Mar 2012 22:55:13 -0000	1.6
+++ vcard-extension.c	27 Jan 2013 18:45:04 -0000	1.7
@@ -173,13 +173,14 @@
 		cleanVObject(t);
 	}
 
-	if (f)
+	if (f) {
 		fclose(f);
-	abook->contacts = g_list_reverse(abook->contacts);
-	show_message(item->mainwindow->window, GTK_UTIL_MESSAGE_INFO,
-		_("%s: Imported %d contacts out of %d Objects.\n"
-		  "Rejected Objects can be found in %s"),
-			abook->abook_name, count, total, leftover);
+		abook->contacts = g_list_reverse(abook->contacts);
+		show_message(item->mainwindow->window, GTK_UTIL_MESSAGE_INFO,
+			_("%s: Imported %d contacts out of %d Objects.\n"
+		  	  "Rejected Objects can be found in %s"),
+			  abook->abook_name, count, total, leftover);
+	}
 	g_free(leftover);
 }
 



More information about the Commits mailing list