fix 'Reply to all' bugs
authorPaul Mangan <paul@claws-mail.org>
Mon, 4 Feb 2002 12:06:54 +0000 (12:06 +0000)
committerPaul Mangan <paul@claws-mail.org>
Mon, 4 Feb 2002 12:06:54 +0000 (12:06 +0000)
ChangeLog.claws
configure.in
src/compose.c
src/summaryview.c

index 2038c52..86100a5 100644 (file)
@@ -1,3 +1,15 @@
+2002-02-04 [paul]      0.7.0claws47
+
+       * src/compose.c
+         src/summaryview.c
+               fix bug #494993 (Reply All not taking Reply-To into consi)
+               eliminate differences in behaviour of right-click 'Reply to all' 
+               in summary view and 'Reply to all' on the toolbar. 
+               fix bug where Reply-To gets ignored by 'Reply to all' in summary
+               view and From gets ignored by 'Reply to all' on toolbar.
+               fix bug where 'Reply to all' on toolbar uses To twice and ignores
+               From when no Reply-To header is present.
+
 2002-02-04 [paul]      0.7.0claws46
 
        * sync with sylpheed 0.7.0cvs30
index e49ffcc..fd3971c 100644 (file)
@@ -8,7 +8,7 @@ MINOR_VERSION=7
 MICRO_VERSION=0
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws46
+EXTRA_VERSION=claws47
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index 73bace8..e7eac16 100644 (file)
@@ -1764,6 +1764,12 @@ static void compose_reply_set_entry(Compose *compose, MsgInfo *msginfo,
                                     ? compose->mailinglist
                                     : msginfo->from ? msginfo->from : ""),
                                     COMPOSE_TO);
+
+       if (compose->replyto && to_all)
+               compose_entry_append
+                       (compose, compose->replyto, COMPOSE_CC);
+
+
        if (compose->account->protocol == A_NNTP) {
                if (ignore_replyto)
                        compose_entry_append
index 49b39f5..bdf7bcc 100644 (file)
@@ -3997,10 +3997,10 @@ void summary_reply(SummaryView *summaryview, ComposeMode mode)
                              TRUE, TRUE);
                break;
        case COMPOSE_REPLY_TO_ALL_WITH_QUOTE:
-               compose_reply(msginfo, TRUE, TRUE, FALSE);
+               compose_reply(msginfo, TRUE, TRUE, TRUE);
                break;
        case COMPOSE_REPLY_TO_ALL_WITHOUT_QUOTE:
-               compose_reply(msginfo, FALSE, TRUE, FALSE);
+               compose_reply(msginfo, FALSE, TRUE, TRUE);
                break;
        case COMPOSE_FORWARD:
                if (prefs_common.forward_as_attachment) {