2004-09-08 [colin] 0.9.12cvs97.2
authorColin Leroy <colin@colino.net>
Wed, 8 Sep 2004 09:00:49 +0000 (09:00 +0000)
committerColin Leroy <colin@colino.net>
Wed, 8 Sep 2004 09:00:49 +0000 (09:00 +0000)
* src/summaryview.c
Don't select mails in collapsed threads
when navigating with up/down

ChangeLog-gtk2.claws
PATCHSETS
configure.ac
src/summaryview.c

index 84c5a0789139f7b13861810a28511c986645399a..1f433336012f029514b6d804c94de36e84f9fa42 100644 (file)
@@ -1,3 +1,9 @@
+2004-09-08 [colin]     0.9.12cvs97.2
+
+       * src/summaryview.c
+               Don't select mails in collapsed threads 
+               when navigating with up/down
+
 2004-09-07 [colin]     0.9.12cvs97.1
 
        * src/inc.c
index a4c4fc5bff5e01f77edc8cc4f19b7bb796fb3583..73db48713c92ce2f881cdc590af2b7695e1f636f 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( cvs diff -u -r 1.395.2.31 -r 1.395.2.32 src/summaryview.c; cvs diff -u -r 1.83.2.18 -r 1.83.2.19 src/mimeview.c; ) > 0.9.12cvs95.1.patchset
 ( cvs diff -u -r 1.43.2.9 -r 1.43.2.10 src/toolbar.c; ) > 0.9.12cvs96.1.patchset
 ( cvs diff -u -r 1.2504.2.18 -r 1.2504.2.19 ChangeLog.claws; cvs diff -u -r 1.149.2.13 -r 1.149.2.14 src/inc.c; ) > 0.9.12cvs97.1.patchset
+( cvs diff -u -r 1.395.2.32 -r 1.395.2.33 src/summaryview.c; ) > 0.9.12cvs97.2.patchset
index 50e45a1fbdf6a7fea357aa69c1e61ffc36f01deb..c25b665b7f05fb1c22d1a09af474740ddfc1ebf5 100644 (file)
@@ -13,7 +13,7 @@ INTERFACE_AGE=0
 BINARY_AGE=0
 EXTRA_VERSION=97
 EXTRA_RELEASE=
-EXTRA_GTK2_VERSION=.1
+EXTRA_GTK2_VERSION=.2
 
 if test \( $EXTRA_VERSION -eq 0 \) -o \( "x$EXTRA_RELEASE" != "x" \); then
     VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION}${EXTRA_RELEASE}${EXTRA_GTK2_VERSION}
index d5b2811077d778fba11d2c54467f7a7538dc8948..c0e18b1c9ce00cdea4b858dbc90079e75a6c47b4 100644 (file)
@@ -4379,9 +4379,12 @@ static gboolean summary_key_pressed(GtkWidget *widget, GdkEventKey *event,
        case GDK_Down:
                if ((node = summaryview->selected) != NULL) {
                        GtkCTreeNode *next = NULL;
-                       next = (event->keyval == GDK_Down)
-                                       ? gtkut_ctree_node_next(ctree, node)
-                                       : gtkut_ctree_node_prev(ctree, node);
+                       do {
+                               next = (event->keyval == GDK_Down)
+                                       ? gtkut_ctree_node_next(ctree, next ? next:node)
+                                       : gtkut_ctree_node_prev(ctree, next ? next:node);
+                       } while (next && !gtk_ctree_is_viewable(ctree, next));
+
                        if (next) {
                                gtk_sctree_select_with_state
                                        (GTK_SCTREE(ctree), next, event->state);