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
This commit is contained in:
Harish Krishnaswamy
2004-08-04 04:32:12 +00:00
parent c7692c5c30
commit 016fe283c9
2 changed files with 10 additions and 1 deletions

View File

@ -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):

View File

@ -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;