aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--calendar/ChangeLog7
-rw-r--r--calendar/gui/e-itip-control.c4
2 files changed, 10 insertions, 1 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 5bfbf97213..521a512666 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,10 @@
+2004-08-04 Harish Krishnaswamy <kharish@novell.com>
+
+ * gui/e-itip-control.c: (ok_clicked_cb): Handle decline request by
+ using update_item rather than remove_item, so the backend receives
+ the notification and can handle it. Also, do not rsvp if the backend
+ has the 'save_schedule' capability.
+
2004-08-01 JP Rosevear <jpr@novell.com>
* conduits/todo/todo-conduit.c (todoconduit_load_configuration):
diff --git a/calendar/gui/e-itip-control.c b/calendar/gui/e-itip-control.c
index f62ff943aa..881deb8773 100644
--- a/calendar/gui/e-itip-control.c
+++ b/calendar/gui/e-itip-control.c
@@ -2125,7 +2125,7 @@ ok_clicked_cb (GtkHTML *html, const gchar *method, const gchar *url, const gchar
ICAL_PARTSTAT_DECLINED);
if (status) {
e_cal_component_rescan (priv->comp);
- remove_item (itip);
+ update_item (itip);
}
break;
case 'F':
@@ -2151,6 +2151,8 @@ ok_clicked_cb (GtkHTML *html, const gchar *method, const gchar *url, const gchar
}
g_strfreev (fields);
+ if (e_cal_get_save_schedules (priv->current_ecal))
+ return;
if (rsvp && status) {
ECalComponent *comp = NULL;