2010-09-12 [pawel] 3.7.6cvs34
authorPaweł Pękala <c0rn@gazeta.pl>
Sun, 12 Sep 2010 11:54:31 +0000 (11:54 +0000)
committerPaweł Pękala <c0rn@gazeta.pl>
Sun, 12 Sep 2010 11:54:31 +0000 (11:54 +0000)
* src/compose.c
Fix bug #2247 "nntp reply-to-all broken?"
Make reply-to-all and reply-to-ml work as expected in
mailing list through NNTP case

ChangeLog
PATCHSETS
configure.ac
src/compose.c

index e1f31b2..177a9ae 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2010-09-12 [pawel]     3.7.6cvs34
+
+       * src/compose.c
+               Fix bug #2247 "nntp reply-to-all broken?"
+               Make reply-to-all and reply-to-ml work as expected in
+               mailing list through NNTP case
+
 2010-09-11 [pawel]     3.7.6cvs33
 
        * src/mainwindow.c
index 3b12b0b..a8499c1 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( cvs diff -u -r 1.49.2.132 -r 1.49.2.133 src/procmime.c;  cvs diff -u -r 1.100.2.74 -r 1.100.2.75 AUTHORS;  cvs diff -u -r 1.1.2.67 -r 1.1.2.68 src/gtk/authors.h;  cvs diff -u -r 1.1.4.9 -r 1.1.4.10 src/common/base64.c;  cvs diff -u -r 1.1.4.7 -r 1.1.4.8 src/common/base64.h;  ) > 3.7.6cvs31.patchset
 ( cvs diff -u -r 1.274.2.313 -r 1.274.2.314 src/mainwindow.c;  cvs diff -u -r 1.395.2.420 -r 1.395.2.421 src/summaryview.c;  cvs diff -u -r 1.43.2.117 -r 1.43.2.118 src/toolbar.c;  ) > 3.7.6cvs32.patchset
 ( cvs diff -u -r 1.274.2.314 -r 1.274.2.315 src/mainwindow.c;  cvs diff -u -r 1.395.2.421 -r 1.395.2.422 src/summaryview.c;  cvs diff -u -r 1.43.2.118 -r 1.43.2.119 src/toolbar.c;  ) > 3.7.6cvs33.patchset
+( cvs diff -u -r 1.382.2.553 -r 1.382.2.554 src/compose.c;  ) > 3.7.6cvs34.patchset
index 148e062..6007132 100644 (file)
@@ -12,7 +12,7 @@ MINOR_VERSION=7
 MICRO_VERSION=6
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=33
+EXTRA_VERSION=34
 EXTRA_RELEASE=
 EXTRA_GTK2_VERSION=
 
index 0870ee9..d88315a 100644 (file)
@@ -3214,7 +3214,9 @@ static void compose_reply_set_entry(Compose *compose, MsgInfo *msginfo,
                                 compose->followup_to ? compose->followup_to :
                                 compose->newsgroups ? compose->newsgroups : "",
                                 COMPOSE_NEWSGROUPS, PREF_NONE);
-               } 
+               } else if (reply_to_ml)
+                       compose_entry_append(compose,
+                                  compose->ml_post, COMPOSE_TO, PREF_ML); 
                else 
                        compose_entry_append
                                (compose,
@@ -3225,7 +3227,7 @@ static void compose_reply_set_entry(Compose *compose, MsgInfo *msginfo,
        compose_reply_set_subject(compose, msginfo);
 
        if (to_ml && compose->ml_post) return;
-       if (!to_all || compose->account->protocol == A_NNTP) return;
+       if (!to_all) return;
 
        if (compose->replyto) {
                Xstrdup_a(replyto, compose->replyto, return);