diff options
author | Harish Krishnaswamy <kharish@src.gnome.org> | 2004-08-04 12:32:12 +0800 |
---|---|---|
committer | Harish Krishnaswamy <kharish@src.gnome.org> | 2004-08-04 12:32:12 +0800 |
commit | 016fe283c90de2b117d65bfefed00d99efd488cc (patch) | |
tree | 77625478c8427e385bea379a71da13b7bae43e5f | |
parent | c7692c5c30e604fd628e319f18d506031a3adc1f (diff) | |
download | gsoc2013-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
-rw-r--r-- | calendar/ChangeLog | 7 | ||||
-rw-r--r-- | calendar/gui/e-itip-control.c | 4 |
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; |