aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
authorHarish Krishnaswamy <kharish@src.gnome.org>2004-08-04 12:32:12 +0800
committerHarish Krishnaswamy <kharish@src.gnome.org>2004-08-04 12:32:12 +0800
commit016fe283c90de2b117d65bfefed00d99efd488cc (patch)
tree77625478c8427e385bea379a71da13b7bae43e5f /calendar/gui
parentc7692c5c30e604fd628e319f18d506031a3adc1f (diff)
downloadgsoc2013-evolution-016fe283c90de2b117d65bfefed00d99efd488cc.tar.gz
gsoc2013-evolution-016fe283c90de2b117d65bfefed00d99efd488cc.tar.zst
gsoc2013-evolution-016fe283c90de2b117d65bfefed00d99efd488cc.zip
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
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/e-itip-control.c4
1 files changed, 3 insertions, 1 deletions
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;