From 93f0eda3f378f76d7bcba3444959ee58ab63613e Mon Sep 17 00:00:00 2001 From: Chris Toshok Date: Tue, 3 Feb 2004 20:11:51 +0000 Subject: use "VCARD" instead of "vCard" because gnome-vfs is busted and doesn't use 2004-02-03 Chris Toshok * 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. --- addressbook/ChangeLog | 6 ++++++ addressbook/libebook/e-vcard.c | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) (limited to 'addressbook') 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 + + * 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 * 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); } -- cgit v1.2.1