aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorJP Rosevear <jpr@novell.com>2005-01-12 10:01:55 +0800
committerJP Rosevear <jpr@src.gnome.org>2005-01-12 10:01:55 +0800
commitbb94c723d1f3936e01aa9f7bd806984727369490 (patch)
tree27ad31522d35f66cc962f7172d2dd54bd0783b58 /plugins
parent749d230538f9d818d1f3e1e823c49838daffb144 (diff)
downloadgsoc2013-evolution-bb94c723d1f3936e01aa9f7bd806984727369490.tar.gz
gsoc2013-evolution-bb94c723d1f3936e01aa9f7bd806984727369490.tar.zst
gsoc2013-evolution-bb94c723d1f3936e01aa9f7bd806984727369490.zip
Fixes #29985
2005-01-11 JP Rosevear <jpr@novell.com> Fixes #29985 * itip-formatter.c (view_response_cb): set the message flags to answered if we send successfully svn path=/trunk/; revision=28361
Diffstat (limited to 'plugins')
-rw-r--r--plugins/itip-formatter/ChangeLog7
-rw-r--r--plugins/itip-formatter/itip-formatter.c5
2 files changed, 11 insertions, 1 deletions
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 <jpr@novell.com>
+
+ Fixes #29985
+
+ * itip-formatter.c (view_response_cb): set the message flags to
+ answered if we send successfully
+
2005-01-11 Harish Krishnaswamy <kharish@novell.com>
* 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);