aboutsummaryrefslogtreecommitdiff
path: root/src/compose.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2006-12-14 02:03:26 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2006-12-14 02:03:26 +0000
commitc6f1f4203af22081420e0e26f2c0d2072b3481f8 (patch)
tree5b0aea5ff67ca526cce15bf32eaa9bb88cc619a4 /src/compose.c
parent641b17c570f6ddefc1a1601224ff3df2f5f07253 (diff)
added Bcc: and Reply-To: to the template.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1423 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/compose.c')
-rw-r--r--src/compose.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/compose.c b/src/compose.c
index 1621c9fa..3f25d6fb 100644
--- a/src/compose.c
+++ b/src/compose.c
@@ -5160,8 +5160,14 @@ static void compose_template_apply(Compose *compose, Template *tmpl,
compose_entry_set(compose, tmpl->to, COMPOSE_ENTRY_TO);
if (tmpl->cc && *tmpl->cc != '\0')
compose_entry_set(compose, tmpl->cc, COMPOSE_ENTRY_CC);
+ if (tmpl->bcc && *tmpl->bcc != '\0')
+ compose_entry_set(compose, tmpl->bcc, COMPOSE_ENTRY_BCC);
+ if (tmpl->replyto && *tmpl->replyto != '\0')
+ compose_entry_set(compose, tmpl->replyto,
+ COMPOSE_ENTRY_REPLY_TO);
if (tmpl->subject && *tmpl->subject != '\0')
- compose_entry_set(compose, tmpl->subject, COMPOSE_ENTRY_SUBJECT);
+ compose_entry_set(compose, tmpl->subject,
+ COMPOSE_ENTRY_SUBJECT);
if (replace)
gtk_text_buffer_set_text(buffer, "", 0);