[Commits] address_keeper.c 1.1.2.8 1.1.2.9

mones at claws-mail.org mones at claws-mail.org
Mon Dec 10 15:27:35 CET 2012


Update of /home/claws-mail/plugins/address_keeper/src
In directory srv:/tmp/cvs-serv17304/src

Modified Files:
      Tag: gtk2
	address_keeper.c 
Log Message:
2012-12-10 [mones]	1.0.7cvs3

	* src/address_keeper.c
		Fix bug #2835 to refresh address book after succesful
		address addition, original patch by neels at hofmeyr.de 

Index: address_keeper.c
===================================================================
RCS file: /home/claws-mail/plugins/address_keeper/src/Attic/address_keeper.c,v
retrieving revision 1.1.2.8
retrieving revision 1.1.2.9
diff -u -d -r1.1.2.8 -r1.1.2.9
--- address_keeper.c	10 Nov 2012 21:25:42 -0000	1.1.2.8
+++ address_keeper.c	10 Dec 2012 14:27:33 -0000	1.1.2.9
@@ -106,7 +106,9 @@
 		a_name = get_name_from_addr(addr);
 		a_comment = get_comment_from_addr(addr);
 		if (!addrbook_add_contact(abf, folder, a_name, clean_addr, a_comment)) {
-			g_warning("contact could not been added\n");
+			g_warning("contact could not be added\n");
+		} else {
+			addressbook_refresh();
 		}
 		if (a_name != NULL)
 			g_free(a_name);



More information about the Commits mailing list