* src/summaryview.c
authorChristoph Hohmann <reboot@gmx.ch>
Thu, 26 Sep 2002 12:41:14 +0000 (12:41 +0000)
committerChristoph Hohmann <reboot@gmx.ch>
Thu, 26 Sep 2002 12:41:14 +0000 (12:41 +0000)
        Fix wrong message counts in summaryview status

ChangeLog.claws
configure.in
src/summaryview.c

index c4f716e..b80a704 100644 (file)
@@ -1,3 +1,8 @@
+2002-09-26 [christoph] 0.8.3claws26
+
+       * src/summaryview.c
+               Fix wrong message counts in summaryview status
+
 2002-09-26 [paul]      0.8.3claws25
 
        * sync with 0.8.3cvs7
 2002-09-26 [paul]      0.8.3claws25
 
        * sync with 0.8.3cvs7
index 012e634..9a68d66 100644 (file)
@@ -10,7 +10,7 @@ MINOR_VERSION=8
 MICRO_VERSION=3
 INTERFACE_AGE=0
 BINARY_AGE=0
 MICRO_VERSION=3
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws25
+EXTRA_VERSION=claws26
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index 465e59d..2f810f3 100644 (file)
@@ -2317,9 +2317,9 @@ static void summary_display_msg_full(SummaryView *summaryview,
        g_free(filename);
 
        if (new_window || !prefs_common.mark_as_read_on_new_window) {
        g_free(filename);
 
        if (new_window || !prefs_common.mark_as_read_on_new_window) {
-               if (MSG_IS_NEW(msginfo->flags) && MSG_IS_IGNORE_THREAD(msginfo->flags))
+               if (MSG_IS_NEW(msginfo->flags) && !MSG_IS_IGNORE_THREAD(msginfo->flags))
                        summaryview->newmsgs--;
                        summaryview->newmsgs--;
-               if (MSG_IS_UNREAD(msginfo->flags) && MSG_IS_IGNORE_THREAD(msginfo->flags))
+               if (MSG_IS_UNREAD(msginfo->flags) && !MSG_IS_IGNORE_THREAD(msginfo->flags))
                        summaryview->unread--;
                if (MSG_IS_NEW(msginfo->flags) || MSG_IS_UNREAD(msginfo->flags)) {
                        procmsg_msginfo_unset_flags
                        summaryview->unread--;
                if (MSG_IS_NEW(msginfo->flags) || MSG_IS_UNREAD(msginfo->flags)) {
                        procmsg_msginfo_unset_flags