From bb94c723d1f3936e01aa9f7bd806984727369490 Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Wed, 12 Jan 2005 02:01:55 +0000 Subject: Fixes #29985 2005-01-11 JP Rosevear Fixes #29985 * itip-formatter.c (view_response_cb): set the message flags to answered if we send successfully svn path=/trunk/; revision=28361 --- plugins/itip-formatter/ChangeLog | 7 +++++++ plugins/itip-formatter/itip-formatter.c | 5 ++++- 2 files changed, 11 insertions(+), 1 deletion(-) (limited to 'plugins/itip-formatter') diff --git a/plugins/itip-formatter/ChangeLog b/plugins/itip-formatter/ChangeLog index 5a782b465b..5f1457eccc 100644 --- a/plugins/itip-formatter/ChangeLog +++ b/plugins/itip-formatter/ChangeLog @@ -1,3 +1,10 @@ +2005-01-11 JP Rosevear + + Fixes #29985 + + * itip-formatter.c (view_response_cb): set the message flags to + answered if we send successfully + 2005-01-11 Harish Krishnaswamy * itip-formatter.c (update_item): Fixed a compiler warning. diff --git a/plugins/itip-formatter/itip-formatter.c b/plugins/itip-formatter/itip-formatter.c index 5b2f076f96..09dde217ff 100644 --- a/plugins/itip-formatter/itip-formatter.c +++ b/plugins/itip-formatter/itip-formatter.c @@ -1245,7 +1245,10 @@ view_response_cb (GtkWidget *widget, ItipViewResponse response, gpointer data) } e_cal_component_rescan (comp); - itip_send_comp (E_CAL_COMPONENT_METHOD_REPLY, comp, pitip->current_ecal, pitip->top_level, NULL); + if (itip_send_comp (E_CAL_COMPONENT_METHOD_REPLY, comp, pitip->current_ecal, pitip->top_level, NULL)) { + camel_folder_set_message_flags (((EMFormat *) pitip->pobject.format)->folder, ((EMFormat *) pitip->pobject.format)->uid, + CAMEL_MESSAGE_ANSWERED, CAMEL_MESSAGE_ANSWERED); + } g_object_unref (comp); -- cgit