From 016fe283c90de2b117d65bfefed00d99efd488cc Mon Sep 17 00:00:00 2001 From: Harish Krishnaswamy Date: Wed, 4 Aug 2004 04:32:12 +0000 Subject: Handle decline request by using update_item rather than remove_item, so * 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. svn path=/trunk/; revision=26818 --- calendar/ChangeLog | 7 +++++++ calendar/gui/e-itip-control.c | 4 +++- 2 files changed, 10 insertions(+), 1 deletion(-) (limited to 'calendar') 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 + + * 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 * 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; -- cgit v1.2.3