aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-format.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@helixcode.com>2000-08-07 16:37:07 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2000-08-07 16:37:07 +0800
commitcf0a938afbc1c1622111bfd249e0bba75eea3033 (patch)
treeec655f4b562b8208ed71cc46add7188408cac0e2 /mail/mail-format.c
parent9739fb5219a67aab4e7e7f2b84ec3795ef042f09 (diff)
downloadgsoc2013-evolution-cf0a938afbc1c1622111bfd249e0bba75eea3033.tar
gsoc2013-evolution-cf0a938afbc1c1622111bfd249e0bba75eea3033.tar.gz
gsoc2013-evolution-cf0a938afbc1c1622111bfd249e0bba75eea3033.tar.bz2
gsoc2013-evolution-cf0a938afbc1c1622111bfd249e0bba75eea3033.tar.lz
gsoc2013-evolution-cf0a938afbc1c1622111bfd249e0bba75eea3033.tar.xz
gsoc2013-evolution-cf0a938afbc1c1622111bfd249e0bba75eea3033.tar.zst
gsoc2013-evolution-cf0a938afbc1c1622111bfd249e0bba75eea3033.zip
Renamed from reply_body() so other functions can use it
2000-08-07 Jeffrey Stedfast <fejj@helixcode.com> * mail-format.c (mail_get_message_body): Renamed from reply_body() so other functions can use it (mail_generate_reply): Updated to reflect function name changes * mail-ops.c (real_edit_msg): Attach a callback to the send signal svn path=/trunk/; revision=4564
Diffstat (limited to 'mail/mail-format.c')
-rw-r--r--mail/mail-format.c15
1 files changed, 7 insertions, 8 deletions
diff --git a/mail/mail-format.c b/mail/mail-format.c
index df09cace9c..dad21688f4 100644
--- a/mail/mail-format.c
+++ b/mail/mail-format.c
@@ -1557,9 +1557,8 @@ handle_via_external (CamelMimePart *part, const char *mime_type,
return TRUE;
}
-
-static char *
-reply_body (CamelDataWrapper *data, gboolean want_plain, gboolean *is_html)
+char *
+mail_get_message_body (CamelDataWrapper *data, gboolean want_plain, gboolean *is_html)
{
CamelMultipart *mp;
CamelMimePart *subpart;
@@ -1603,7 +1602,7 @@ reply_body (CamelDataWrapper *data, gboolean want_plain, gboolean *is_html)
data = camel_medium_get_content_object (
CAMEL_MEDIUM (subpart));
- return reply_body (data, want_plain, is_html);
+ return mail_get_message_body (data, want_plain, is_html);
}
nparts = camel_multipart_get_number (mp);
@@ -1622,7 +1621,7 @@ reply_body (CamelDataWrapper *data, gboolean want_plain, gboolean *is_html)
data = camel_medium_get_content_object (
CAMEL_MEDIUM (subpart));
- subtext = reply_body (data, want_plain, is_html);
+ subtext = mail_get_message_body (data, want_plain, is_html);
if (!subtext)
continue;
if (*is_html) {
@@ -1661,10 +1660,10 @@ mail_generate_reply (CamelMimeMessage *message, gboolean to_all)
want_plain = !config->send_html;
contents = camel_medium_get_content_object (CAMEL_MEDIUM (message));
- text = reply_body (contents, want_plain, &is_html);
-
+ text = mail_get_message_body (contents, want_plain, &is_html);
+
composer = E_MSG_COMPOSER (e_msg_composer_new ());
-
+
/* Set the quoted reply text. */
if (text) {
char *repl_text;