summaryrefslogtreecommitdiff
path: root/addressbook
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2004-02-03 20:11:51 +0000
committerChris Toshok <toshok@src.gnome.org>2004-02-03 20:11:51 +0000
commit93f0eda3f378f76d7bcba3444959ee58ab63613e (patch)
treeda869563eef98589f82bccd92f5bb7f8bdee01c8 /addressbook
parent4123df27bc69610e68df6b75a8fb75a39f8ee9cb (diff)
downloadevolution-data-server-93f0eda3f378f76d7bcba3444959ee58ab63613e.tar.gz
use "VCARD" instead of "vCard" because gnome-vfs is busted and doesn't use
2004-02-03 Chris Toshok <toshok@ximian.com> * libebook/e-vcard.c (e_vcard_to_string_vcard_30): use "VCARD" instead of "vCard" because gnome-vfs is busted and doesn't use a case insensitive string check.
Diffstat (limited to 'addressbook')
-rw-r--r--addressbook/ChangeLog6
-rw-r--r--addressbook/libebook/e-vcard.c4
2 files changed, 8 insertions, 2 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index bdf78003d..07bd94425 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,9 @@
+2004-02-03 Chris Toshok <toshok@ximian.com>
+
+ * libebook/e-vcard.c (e_vcard_to_string_vcard_30): use "VCARD"
+ instead of "vCard" because gnome-vfs is busted and doesn't use a
+ case insensitive string check.
+
2004-02-02 Chris Toshok <toshok@ximian.com>
* libebook/e-contact.c (GETSET_FIELD): these are also of type
diff --git a/addressbook/libebook/e-vcard.c b/addressbook/libebook/e-vcard.c
index d45290503..521a570d3 100644
--- a/addressbook/libebook/e-vcard.c
+++ b/addressbook/libebook/e-vcard.c
@@ -673,7 +673,7 @@ e_vcard_to_string_vcard_30 (EVCard *evc)
GString *str = g_string_new ("");
- str = g_string_append (str, "BEGIN:vCard" CRLF);
+ str = g_string_append (str, "BEGIN:VCARD" CRLF);
/* we hardcode the version (since we're outputting to a
specific version) and ignore any version attributes the
@@ -777,7 +777,7 @@ e_vcard_to_string_vcard_30 (EVCard *evc)
g_string_free (attr_str, TRUE);
}
- str = g_string_append (str, "END:vCard");
+ str = g_string_append (str, "END:VCARD");
return g_string_free (str, FALSE);
}