aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2002-10-01 10:53:55 +0800
committerChris Toshok <toshok@src.gnome.org>2002-10-01 10:53:55 +0800
commit53bc3f0cac56fe32c8caefce87d123944e735a61 (patch)
treeb8cbcc92f07a310481758abd1978183a7b3e6b5b
parent6122b68bb1c0dad56fda839f6f7b2e90c7ff03ca (diff)
downloadgsoc2013-evolution-53bc3f0cac56fe32c8caefce87d123944e735a61.tar
gsoc2013-evolution-53bc3f0cac56fe32c8caefce87d123944e735a61.tar.gz
gsoc2013-evolution-53bc3f0cac56fe32c8caefce87d123944e735a61.tar.bz2
gsoc2013-evolution-53bc3f0cac56fe32c8caefce87d123944e735a61.tar.lz
gsoc2013-evolution-53bc3f0cac56fe32c8caefce87d123944e735a61.tar.xz
gsoc2013-evolution-53bc3f0cac56fe32c8caefce87d123944e735a61.tar.zst
gsoc2013-evolution-53bc3f0cac56fe32c8caefce87d123944e735a61.zip
[ Fixes #31321 ] add VERSION:2.1 to exported vCards.
2002-09-30 Chris Toshok <toshok@ximian.com> [ Fixes #31321 ] * backend/ebook/e-card.c (e_card_get_vobject): add VERSION:2.1 to exported vCards. svn path=/trunk/; revision=18274
-rw-r--r--addressbook/ChangeLog6
-rw-r--r--addressbook/backend/ebook/e-card.c2
2 files changed, 8 insertions, 0 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index 9fe36a1bf7..36f2df9af1 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,5 +1,11 @@
2002-09-30 Chris Toshok <toshok@ximian.com>
+ [ Fixes #31321 ]
+ * backend/ebook/e-card.c (e_card_get_vobject): add VERSION:2.1 to
+ exported vCards.
+
+2002-09-30 Chris Toshok <toshok@ximian.com>
+
[ Fixes #31434 ]
* backend/pas/pas-backend-file.c (do_summary_query): always
retrieve the card from the db. use the summary strictly for
diff --git a/addressbook/backend/ebook/e-card.c b/addressbook/backend/ebook/e-card.c
index 7ed476a9c7..8c75acddcc 100644
--- a/addressbook/backend/ebook/e-card.c
+++ b/addressbook/backend/ebook/e-card.c
@@ -477,6 +477,8 @@ e_card_get_vobject (const ECard *card, gboolean assumeUTF8)
vobj = newVObject (VCCardProp);
+ ADD_PROP_VALUE(vobj, VCVersionProp, "2.1");
+
if (card->file_as && *card->file_as)
ADD_PROP_VALUE(vobj, "X-EVOLUTION-FILE-AS", card->file_as);
else if (card->file_as)