aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/itip-formatter
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@novell.com>2005-01-27 21:25:09 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2005-01-27 21:25:09 +0800
commit8371bae83cee8d1ebec192e2ef6126dd17c71673 (patch)
treef2ac366392b9e87c62401bd704d3c8311e761053 /plugins/itip-formatter
parentb9bc87999f59c9628706ae460c5c1bd5068cebc1 (diff)
downloadgsoc2013-evolution-8371bae83cee8d1ebec192e2ef6126dd17c71673.tar
gsoc2013-evolution-8371bae83cee8d1ebec192e2ef6126dd17c71673.tar.gz
gsoc2013-evolution-8371bae83cee8d1ebec192e2ef6126dd17c71673.tar.bz2
gsoc2013-evolution-8371bae83cee8d1ebec192e2ef6126dd17c71673.tar.lz
gsoc2013-evolution-8371bae83cee8d1ebec192e2ef6126dd17c71673.tar.xz
gsoc2013-evolution-8371bae83cee8d1ebec192e2ef6126dd17c71673.tar.zst
gsoc2013-evolution-8371bae83cee8d1ebec192e2ef6126dd17c71673.zip
deal with the itip message having an individual instance.
2005-01-27 Rodrigo Moya <rodrigo@novell.com> * itip-formatter.c (update_attendee_status): deal with the itip message having an individual instance. svn path=/trunk/; revision=28580
Diffstat (limited to 'plugins/itip-formatter')
-rw-r--r--plugins/itip-formatter/ChangeLog5
-rw-r--r--plugins/itip-formatter/itip-formatter.c7
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);