aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@src.gnome.org>2006-08-23 22:05:21 +0800
committerSrinivasa Ragavan <sragavan@src.gnome.org>2006-08-23 22:05:21 +0800
commitcd59caa64036b781720255f78d3dca6edb0d893b (patch)
tree6a5a3788d474be720b5fdb148e958dcd48bd5431
parentba45c0f1dd0790fbbf3c3061daf053d08a398029 (diff)
downloadgsoc2013-evolution-cd59caa64036b781720255f78d3dca6edb0d893b.tar.gz
gsoc2013-evolution-cd59caa64036b781720255f78d3dca6edb0d893b.tar.zst
gsoc2013-evolution-cd59caa64036b781720255f78d3dca6edb0d893b.zip
** Fix for bug #347248
svn path=/trunk/; revision=32647
-rw-r--r--mail/ChangeLog4
-rw-r--r--mail/em-utils.c1
-rw-r--r--plugins/import-ics-attachments/ChangeLog7
-rw-r--r--plugins/import-ics-attachments/icsimporter.c4
-rw-r--r--plugins/itip-formatter/ChangeLog7
-rw-r--r--plugins/itip-formatter/itip-formatter.c4
6 files changed, 23 insertions, 4 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index dffc005500..08d698cc35 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,7 @@
+2006-08-23 Srinivasa Ragavan <sragavan@novell.com>
+
+ * em-utils.c: Update the doc for em_utils_temp_save_part.
+
2006-08-02 Ushveen Kaur <kushveen@novell.com>
** Fixes bug #347238
diff --git a/mail/em-utils.c b/mail/em-utils.c
index cdaeb67ac2..b8669b2c7f 100644
--- a/mail/em-utils.c
+++ b/mail/em-utils.c
@@ -1304,6 +1304,7 @@ emu_save_part_done(CamelMimePart *part, char *name, int done, void *data)
* em_utils_temp_save_part:
* @parent:
* @part:
+ * @mode: readonly or not.
*
* Save a part's content to a temporary file, and return the
* filename.
diff --git a/plugins/import-ics-attachments/ChangeLog b/plugins/import-ics-attachments/ChangeLog
index f4307a0ac2..3e2f14af0d 100644
--- a/plugins/import-ics-attachments/ChangeLog
+++ b/plugins/import-ics-attachments/ChangeLog
@@ -1,3 +1,10 @@
+2006-08-23 Srinivasa Ragavan <sragavan@novell.com>
+
+ ** Fix for bug #347248
+
+ * icsimporter.c: (get_menu_type), (import_ics): Update the
+ em_utils_temp_save_part to use readwrite mode.
+
2006-02-21 Chenthill Palanisamy <pchenthill@novell.com>
reviewed by Veerapuram Varadhan <vvaradhan@novell.com>
diff --git a/plugins/import-ics-attachments/icsimporter.c b/plugins/import-ics-attachments/icsimporter.c
index 4e755799b3..f9986d7294 100644
--- a/plugins/import-ics-attachments/icsimporter.c
+++ b/plugins/import-ics-attachments/icsimporter.c
@@ -150,7 +150,7 @@ get_menu_type (void *data)
else
part = ((EMPopupTargetPart *) target)->part;
- path = em_utils_temp_save_part (NULL, part);
+ path = em_utils_temp_save_part (NULL, part, FALSE);
icalcomp = get_icalcomponent_from_file (path);
@@ -177,7 +177,7 @@ import_ics (EPlugin *ep, EPopupTarget *t, void *data)
else
part = ((EMPopupTargetPart *) target)->part;
- path = em_utils_temp_save_part (NULL, part);
+ path = em_utils_temp_save_part (NULL, part, FALSE);
init_widgets(path);
}
diff --git a/plugins/itip-formatter/ChangeLog b/plugins/itip-formatter/ChangeLog
index 6506376539..d5f5ac0a0f 100644
--- a/plugins/itip-formatter/ChangeLog
+++ b/plugins/itip-formatter/ChangeLog
@@ -1,3 +1,10 @@
+2006-08-23 Srinivasa Ragavan <sragavan@novell.com>
+
+ ** Fix for bug #347248
+
+ * itip-formatter.c: (update_item): Update the
+ em_utils_temp_save_part to use readwrite mode.
+
2006-08-23 Matthew Barnes <mbarnes@redhat.com>
* itip-formatter.c:
diff --git a/plugins/itip-formatter/itip-formatter.c b/plugins/itip-formatter/itip-formatter.c
index 7eee4261a7..457b5a7b17 100644
--- a/plugins/itip-formatter/itip-formatter.c
+++ b/plugins/itip-formatter/itip-formatter.c
@@ -827,7 +827,7 @@ update_item (FormatItipPObject *pitip, ItipViewResponse response)
if (part == (CamelMimePart *) msg || part == pitip->pobject.part)
continue;
- new_uri = em_utils_temp_save_part (NULL, part);
+ new_uri = em_utils_temp_save_part (NULL, part, FALSE);
new_attachments = g_slist_append (new_attachments, new_uri);
}
@@ -836,7 +836,7 @@ update_item (FormatItipPObject *pitip, ItipViewResponse response)
} else if (!g_ascii_strncasecmp (uri, "cid:", 4)) {
part = camel_mime_message_get_part_by_content_id (msg, uri + 4);
if (part) {
- new_uri = em_utils_temp_save_part (NULL, part);
+ new_uri = em_utils_temp_save_part (NULL, part, FALSE);
new_attachments = g_slist_append (new_attachments, new_uri);
}