move ctree to unread message
authorChristoph Hohmann <reboot@gmx.ch>
Sun, 1 Jul 2001 17:22:00 +0000 (17:22 +0000)
committerChristoph Hohmann <reboot@gmx.ch>
Sun, 1 Jul 2001 17:22:00 +0000 (17:22 +0000)
src/summaryview.c

index 132d285..dcdf73f 100644 (file)
@@ -979,6 +979,7 @@ void summary_select_next_unread(SummaryView *summaryview)
        if (node) {
                gtk_sctree_unselect_all(GTK_SCTREE(ctree));
                gtk_sctree_select(GTK_SCTREE(ctree), node);
+               gtk_ctree_node_moveto(ctree, node, -1, 0.5, 0.0);
                if (summaryview->displayed == node)
                        summaryview->displayed = NULL;
                summary_display_msg(summaryview, node, FALSE);