diff options
author | Seth Alves <alves@src.gnome.org> | 2000-05-01 10:38:32 +0800 |
---|---|---|
committer | Seth Alves <alves@src.gnome.org> | 2000-05-01 10:38:32 +0800 |
commit | d256a1683d895ea02150aa4488d243a8c754adb2 (patch) | |
tree | d977fe06efcb300b42ab7c215513e6c21b4b6b1c /calendar/pcs/icalendar-save.c | |
parent | c4f6855cebd5b13deca8109e79f0beb7dabdd0ce (diff) | |
download | gsoc2013-evolution-d256a1683d895ea02150aa4488d243a8c754adb2.tar gsoc2013-evolution-d256a1683d895ea02150aa4488d243a8c754adb2.tar.gz gsoc2013-evolution-d256a1683d895ea02150aa4488d243a8c754adb2.tar.bz2 gsoc2013-evolution-d256a1683d895ea02150aa4488d243a8c754adb2.tar.lz gsoc2013-evolution-d256a1683d895ea02150aa4488d243a8c754adb2.tar.xz gsoc2013-evolution-d256a1683d895ea02150aa4488d243a8c754adb2.tar.zst gsoc2013-evolution-d256a1683d895ea02150aa4488d243a8c754adb2.zip |
set attendee and contact address correctly.
* pcs/icalendar-save.c (icalcomponent_create_from_ical_object): set
attendee and contact address correctly.
* pcs/cal-backend.c (icalendar_calendar_load): init priv->object_hash
when loading.
(cal_get_type_from_filename): if file extension is .ical, consider
the file an ical file.
svn path=/trunk/; revision=2702
Diffstat (limited to 'calendar/pcs/icalendar-save.c')
-rw-r--r-- | calendar/pcs/icalendar-save.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/calendar/pcs/icalendar-save.c b/calendar/pcs/icalendar-save.c index 1b35d2dadf..14cdcca65c 100644 --- a/calendar/pcs/icalendar-save.c +++ b/calendar/pcs/icalendar-save.c @@ -184,7 +184,7 @@ icalcomponent_create_from_ical_object (iCalObject *ical) GList *cur; for (cur = ical->attendee; cur; cur = cur->next) { iCalPerson *person = (iCalPerson *) cur->data; - prop = icalproperty_new_attendee ("FIX ME"); + prop = icalproperty_new_attendee (person->addr); unparse_person (person, prop); icalcomponent_add_property (comp, prop); } @@ -196,7 +196,7 @@ icalcomponent_create_from_ical_object (iCalObject *ical) GList *cur; for (cur = ical->contact; cur; cur = cur->next) { iCalPerson *person = (iCalPerson *) cur->data; - prop = icalproperty_new_contact ("FIX ME"); + prop = icalproperty_new_contact (person->addr); unparse_person (person, prop); icalcomponent_add_property (comp, prop); } @@ -204,7 +204,7 @@ icalcomponent_create_from_ical_object (iCalObject *ical) /*** organizer ***/ if (ical->organizer) { - prop = icalproperty_new_organizer ("FIX ME"); + prop = icalproperty_new_organizer (ical->organizer->addr); unparse_person (ical->organizer, prop); icalcomponent_add_property (comp, prop); } |