aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJP Rosevear <jpr@src.gnome.org>2005-01-11 03:42:23 +0800
committerJP Rosevear <jpr@src.gnome.org>2005-01-11 03:42:23 +0800
commit34225b40c48c083aeada8d0302ef6e3150bd6035 (patch)
tree37b42d9ab8534745ee9edf63474712e501db004e
parente6dc2252a263ba47e5d028209b6317a51e35a869 (diff)
downloadgsoc2013-evolution-34225b40c48c083aeada8d0302ef6e3150bd6035.tar.gz
gsoc2013-evolution-34225b40c48c083aeada8d0302ef6e3150bd6035.tar.zst
gsoc2013-evolution-34225b40c48c083aeada8d0302ef6e3150bd6035.zip
*** empty log message ***
svn path=/trunk/; revision=28336
-rw-r--r--plugins/itip-formatter/itip-formatter.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/itip-formatter/itip-formatter.c b/plugins/itip-formatter/itip-formatter.c
index 643628cac1..635f2578de 100644
--- a/plugins/itip-formatter/itip-formatter.c
+++ b/plugins/itip-formatter/itip-formatter.c
@@ -704,6 +704,9 @@ update_item (FormatItipPObject *pitip, ItipViewResponse response)
GSList *attachments = NULL, *new_attachments = NULL, *l;
CamelMimeMessage *msg = ((EMFormat *) pitip->pobject.format)->message;
+ e_cal_component_get_attachment_list (clone_comp, &attachments);
+ g_message ("Number of attachments is %d", g_list_length (attachments));
+
for (l = attachments; l; l = l->next) {
GSList *parts = NULL, *m;
char *uri, *new_uri;
@@ -711,7 +714,7 @@ update_item (FormatItipPObject *pitip, ItipViewResponse response)
uri = l->data;
- if (!g_ascii_strncasecmp (uri, "cid:...", 4)) {
+ if (!g_ascii_strncasecmp (uri, "cid:...", 7)) {
message_foreach_part ((CamelMimePart *) msg, &parts);
for (m = parts; m; m = m->next) {