diff options
author | Damon Chaplin <damon@ximian.com> | 2001-10-25 05:02:43 +0800 |
---|---|---|
committer | Damon Chaplin <damon@src.gnome.org> | 2001-10-25 05:02:43 +0800 |
commit | 1c61950527e07b6f0343f0c1a9ecf7d043b7873e (patch) | |
tree | 65886d121b33109e53f9c93ece7923bec6c81764 /calendar/pcs | |
parent | bb7d2c44996f10c4e768f0e86d5f894d607f3864 (diff) | |
download | gsoc2013-evolution-1c61950527e07b6f0343f0c1a9ecf7d043b7873e.tar gsoc2013-evolution-1c61950527e07b6f0343f0c1a9ecf7d043b7873e.tar.gz gsoc2013-evolution-1c61950527e07b6f0343f0c1a9ecf7d043b7873e.tar.bz2 gsoc2013-evolution-1c61950527e07b6f0343f0c1a9ecf7d043b7873e.tar.lz gsoc2013-evolution-1c61950527e07b6f0343f0c1a9ecf7d043b7873e.tar.xz gsoc2013-evolution-1c61950527e07b6f0343f0c1a9ecf7d043b7873e.tar.zst gsoc2013-evolution-1c61950527e07b6f0343f0c1a9ecf7d043b7873e.zip |
when iterating over the subcomponents, use 'subcomp' rather than
2001-10-24 Damon Chaplin <damon@ximian.com>
* pcs/cal-backend-file.c (cal_backend_file_update_objects): when
iterating over the subcomponents, use 'subcomp' rather than 'icalcomp'.
That meant it wasn't working at all well when an entire VCALENDAR
was passed in.
* cal-util/cal-component.c: handle DURATION property used instead of
DTEND or DUE. In cal_component_get_dtend/due we will return DTSTART
+ DURATION if necessary. In set_dtend/due we remove any DURATION
property. Fixes bug #11262.
* gui/e-meeting-model.c (build_etable):
* gui/e-calendar-table.c (e_calendar_table_init): use U_ for the
ECellCombo popdown strings, as it expects UTF-8 strings.
svn path=/trunk/; revision=13992
Diffstat (limited to 'calendar/pcs')
-rw-r--r-- | calendar/pcs/cal-backend-file.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/calendar/pcs/cal-backend-file.c b/calendar/pcs/cal-backend-file.c index adf323023a..139db949f8 100644 --- a/calendar/pcs/cal-backend-file.c +++ b/calendar/pcs/cal-backend-file.c @@ -1751,14 +1751,14 @@ cal_backend_file_update_objects (CalBackend *backend, const char *calobj) while (subcomp) { /* We ignore anything except VEVENT, VTODO and VJOURNAL components. */ - icalcomponent_kind child_kind = icalcomponent_isa (icalcomp); + icalcomponent_kind child_kind = icalcomponent_isa (subcomp); if (child_kind == ICAL_VEVENT_COMPONENT || child_kind == ICAL_VTODO_COMPONENT || child_kind == ICAL_VJOURNAL_COMPONENT) { const char *comp_uid; comp_uid = cal_backend_file_update_object (cbfile, - icalcomp); + subcomp); if (comp_uid) { /* We add a copy of the UID to a list, so we can emit notification signals later. We do |