projects
/
claws.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
94030d1
)
Only scroll summaryview to the middle when necessary.
author
Andrej Kacian
<ticho@claws-mail.org>
Sat, 5 Nov 2016 11:00:33 +0000
(12:00 +0100)
committer
Andrej Kacian
<ticho@claws-mail.org>
Sat, 5 Nov 2016 11:00:33 +0000
(12:00 +0100)
src/summaryview.c
patch
|
blob
|
history
diff --git
a/src/summaryview.c
b/src/summaryview.c
index d80f4d3ddcd1fa9cfe2d5a2d06aef7019e4c0bb3..fbc29bf1c61e2707128c69c960c5d848722632b9 100644
(file)
--- 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_EVENTS_FLUSH();
summary_unlock(summaryview);
gtk_widget_grab_focus(GTK_WIDGET(ctree));
- gtk
_cmctree_node_moveto(ctree, node, 0, 0.5, 0
);
+ gtk
ut_ctree_node_move_if_on_the_edge(ctree, node, -1
);
if (display_msg && summaryview->displayed == node)
summaryview->displayed = NULL;
if (display_msg && summaryview->displayed == node)
summaryview->displayed = NULL;