talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit 2193529a58210cc79a07051e721f624c086d4121
parent 94030d1aa5e132b50bb05a88245e3bca08c55ffa
Author: Andrej Kacian <ticho@claws-mail.org>
Date:   Sat,  5 Nov 2016 12:00:33 +0100

Only scroll summaryview to the middle when necessary.

Diffstat:
Msrc/summaryview.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/summaryview.c b/src/summaryview.c @@ -2264,7 +2264,7 @@ void summary_select_node(SummaryView *summaryview, GtkCMCTreeNode *node, GTK_EVENTS_FLUSH(); summary_unlock(summaryview); gtk_widget_grab_focus(GTK_WIDGET(ctree)); - gtk_cmctree_node_moveto(ctree, node, 0, 0.5, 0); + gtkut_ctree_node_move_if_on_the_edge(ctree, node, -1); if (display_msg && summaryview->displayed == node) summaryview->displayed = NULL;