[Commits] [SCM] claws branch, master, updated. 3.13.0-23-gc02b6cb
ticho at claws-mail.org
ticho at claws-mail.org
Wed Oct 21 11:33:38 CEST 2015
The branch, master has been updated
via c02b6cb1d9bd944b3721562a7a8ac2aedd188c21 (commit)
from 22b147d7934354bd4289a0ef72ca99695ad1498c (commit)
Summary of changes:
src/folderview.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
- Log -----------------------------------------------------------------
commit c02b6cb1d9bd944b3721562a7a8ac2aedd188c21
Author: Andrej Kacian <andrej at kacian.sk>
Date: Wed Oct 21 11:33:04 2015 +0200
Do not try to expand a childless folderview row on right arrow keypress.
diff --git a/src/folderview.c b/src/folderview.c
index 3336d94..965cf45 100644
--- a/src/folderview.c
+++ b/src/folderview.c
@@ -2006,7 +2006,8 @@ static gboolean folderview_key_pressed(GtkWidget *widget, GdkEventKey *event,
switch (event->keyval) {
case GDK_KEY_Right:
if (folderview->selected) {
- if (!GTK_CMCTREE_ROW(folderview->selected)->expanded)
+ if (GTK_CMCTREE_ROW(folderview->selected)->children != NULL
+ && !GTK_CMCTREE_ROW(folderview->selected)->expanded)
gtk_cmctree_expand(GTK_CMCTREE(folderview->ctree),
folderview->selected);
else
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list