diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/itip-formatter/ChangeLog | 5 | ||||
-rw-r--r-- | plugins/itip-formatter/itip-formatter.c | 7 |
2 files changed, 9 insertions, 3 deletions
diff --git a/plugins/itip-formatter/ChangeLog b/plugins/itip-formatter/ChangeLog index 5dcf189e70..5b7774b514 100644 --- a/plugins/itip-formatter/ChangeLog +++ b/plugins/itip-formatter/ChangeLog @@ -1,3 +1,8 @@ +2005-01-27 Rodrigo Moya <rodrigo@novell.com> + + * itip-formatter.c (update_attendee_status): deal with the itip + message having an individual instance. + 2005-01-26 JP Rosevear <jpr@novell.com> Fixes #71485 diff --git a/plugins/itip-formatter/itip-formatter.c b/plugins/itip-formatter/itip-formatter.c index 52351ff8d6..dbb5806a63 100644 --- a/plugins/itip-formatter/itip-formatter.c +++ b/plugins/itip-formatter/itip-formatter.c @@ -792,12 +792,13 @@ update_attendee_status (FormatItipPObject *pitip) { ECalComponent *comp = NULL; icalcomponent *icalcomp = NULL; - const char *uid; + const char *uid, *rid; GError *error; /* Obtain our version */ e_cal_component_get_uid (pitip->comp, &uid); - if (e_cal_get_object (pitip->current_ecal, uid, NULL, &icalcomp, NULL)) { + rid = e_cal_component_get_recurid_as_string (pitip->comp); + if (e_cal_get_object (pitip->current_ecal, uid, rid, &icalcomp, NULL)) { GSList *attendees; comp = e_cal_component_new (); @@ -831,7 +832,7 @@ update_attendee_status (FormatItipPObject *pitip) } } - if (!e_cal_modify_object (pitip->current_ecal, icalcomp, CALOBJ_MOD_ALL, &error)) { + if (!e_cal_modify_object (pitip->current_ecal, icalcomp, rid ? CALOBJ_MOD_THIS : CALOBJ_MOD_ALL, &error)) { itip_view_add_lower_info_item_printf (ITIP_VIEW (pitip->view), ITIP_VIEW_INFO_ITEM_TYPE_ERROR, _("Unable to update attendee. %s"), error->message); |