[balsa] balsa-index: Count skipped messages only for list



commit e6a952e82e6950257c99df2deeb83390cb75b2f0
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date:   Thu May 31 08:00:24 2018 -0400

    balsa-index: Count skipped messages only for list
    
    * src/balsa-index.c (bndx_compose_foreach): Count skipped
      messages only when replying to group.

 ChangeLog         | 5 +++++
 src/balsa-index.c | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/ChangeLog b/ChangeLog
index e4f334171..09ef437e4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2018-05-31  Peter Bloomfield  <pbloomfield bellsouth net>
+
+       * src/balsa-index.c (bndx_compose_foreach): Count skipped
+       messages only when replying to group.
+
 2018-05-30  Peter Bloomfield  <pbloomfield bellsouth net>
 
        * src/balsa-index.c (bndx_compose_foreach): When replying to
diff --git a/src/balsa-index.c b/src/balsa-index.c
index e6362edbb..dfa51692d 100644
--- a/src/balsa-index.c
+++ b/src/balsa-index.c
@@ -1552,7 +1552,7 @@ bndx_compose_foreach(BalsaIndex * index, SendType send_type)
         if (sm != NULL) {
             g_signal_connect(G_OBJECT(sm->window), "destroy",
                              G_CALLBACK(sendmsg_window_destroy_cb), NULL);
-        } else {
+        } else if (send_type == SEND_REPLY_GROUP) {
             ++skipped;
         }
     }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]