* src/summaryview.c
authorChristoph Hohmann <reboot@gmx.ch>
Mon, 1 Jul 2002 17:25:39 +0000 (17:25 +0000)
committerChristoph Hohmann <reboot@gmx.ch>
Mon, 1 Jul 2002 17:25:39 +0000 (17:25 +0000)
fix "goto next/prev unread message" with
ignored threads

ChangeLog.claws
configure.in
src/imap.c
src/summaryview.c

index 9e01439..57cb6bd 100644 (file)
@@ -1,3 +1,9 @@
+2002-07-01 [christoph] 0.7.8claws41
+
+       * src/summaryview.c
+               fix "goto next/prev unread message" with
+               ignored threads
+
 2002-07-01 [paul]      0.7.8claws40
 
        * po/es.po
        * src/mh.c
        * src/news.c
        * src/procmsg.c
-           fix broken folder tree rescaning
-           and don't use procmsg_get_mark_sum
-           anymore
+               fix broken folder tree rescaning
+               and don't use procmsg_get_mark_sum
+               anymore
 
 2002-06-30 [christoph] 0.7.8claws36
 
        * merge new cache branch
        * src/imap.c
-           fix new cache imap copy bug
+               fix new cache imap copy bug
        * src/folder.c
-           improved folder_item_scan
-           it should now always set the correct
-           new, unread and total message counts
+               improved folder_item_scan
+               it should now always set the correct
+               new, unread and total message counts
 
 2002-06-29 [paul]      0.7.8claws35
 
index fa66aed..39c5f19 100644 (file)
@@ -9,7 +9,7 @@ MINOR_VERSION=7
 MICRO_VERSION=8
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws40
+EXTRA_VERSION=claws41
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index bcd4a6f..4a89cdc 100644 (file)
@@ -3046,7 +3046,7 @@ GSList *imap_get_num_list(Folder *folder, FolderItem *item)
        gint ok, exists = 0, recent = 0, unseen = 0;
        guint32 uid_validity = 0;
        guint32 uid = 0;
-
+       
        g_return_val_if_fail(folder != NULL, NULL);
        g_return_val_if_fail(item != NULL, NULL);
        g_return_val_if_fail(item->path != NULL, NULL);
index bf196cd..0043ce8 100644 (file)
@@ -1500,7 +1500,11 @@ static GtkCTreeNode *summary_find_next_flagged_msg(SummaryView *summaryview,
 
        for (; node != NULL; node = gtkut_ctree_node_next(ctree, node)) {
                msginfo = gtk_ctree_node_get_row_data(ctree, node);
-               if ((msginfo->flags.perm_flags & flags) != 0) break;
+               /* Find msg with matching flags but ignore messages with
+                  ignore flags, if searching for new or unread messages */
+               if (!(((flags & (MSG_NEW | MSG_UNREAD)) != 0) && MSG_IS_IGNORE_THREAD(msginfo->flags)) && 
+                       ((msginfo->flags.perm_flags & flags) != 0))
+                       break;
        }
 
        return node;