From 07bd8e460c6309083b57e802b7371e758af8044c Mon Sep 17 00:00:00 2001 From: Chris Toshok Date: Wed, 27 Nov 2002 02:56:16 +0000 Subject: [ roll forward from 1.2 branch, Fixes addressbook bug #28945 ] if the 2002-11-26 Chris Toshok [ roll forward from 1.2 branch, Fixes addressbook bug #28945 ] * backend/ebook/e-card.c (e_card_get_vobject): if the email property is xml, get the real address from the e-destination. Fixes saving contact lists. svn path=/trunk/; revision=18942 --- addressbook/ChangeLog | 7 +++++++ addressbook/backend/ebook/e-card.c | 10 +++++++++- 2 files changed, 16 insertions(+), 1 deletion(-) (limited to 'addressbook') diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index 6c4c6c6292..ec6934dbec 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,10 @@ +2002-11-26 Chris Toshok + + [ roll forward from 1.2 branch, Fixes addressbook bug #28945 ] + * backend/ebook/e-card.c (e_card_get_vobject): if the email + property is xml, get the real address from the e-destination. + Fixes saving contact lists. + 2002-11-26 Chris Toshok * gui/widgets/e-minicard.c (e_minicard_reflow): remove redundant diff --git a/addressbook/backend/ebook/e-card.c b/addressbook/backend/ebook/e-card.c index 07926ddd84..67787a20f9 100644 --- a/addressbook/backend/ebook/e-card.c +++ b/addressbook/backend/ebook/e-card.c @@ -575,7 +575,15 @@ e_card_get_vobject (const ECard *card, gboolean assumeUTF8) EIterator *iterator = e_list_get_iterator(card->email); for ( ; e_iterator_is_valid(iterator) ;e_iterator_next(iterator) ) { VObject *emailprop; - emailprop = ADD_PROP_VALUE(vobj, VCEmailAddressProp, (char *) e_iterator_get(iterator)); + char *e = (char *) e_iterator_get(iterator); + if (!strncmp (e, "