[Commits] [SCM] claws branch, master, updated. 3.16.0-140-gfe58206

ticho at claws-mail.org ticho at claws-mail.org
Fri Apr 27 17:01:12 CEST 2018


The branch, master has been updated
       via  fe58206444037835c9a7560f5a21f55dc8bbd2a7 (commit)
      from  6b9aa3dd1772f5aa5df322c8034c9f1e9ded81ab (commit)

Summary of changes:
 src/gtk/gtksctree.c |    2 ++
 1 file changed, 2 insertions(+)


- Log -----------------------------------------------------------------
commit fe58206444037835c9a7560f5a21f55dc8bbd2a7
Author: Andrej Kacian <ticho at claws-mail.org>
Date:   Fri Apr 27 17:00:37 2018 +0200

    Ignore the expander "hot spots" in folderview for childless folders.

diff --git a/src/gtk/gtksctree.c b/src/gtk/gtksctree.c
index 4519657..343b5db 100644
--- a/src/gtk/gtksctree.c
+++ b/src/gtk/gtksctree.c
@@ -431,6 +431,8 @@ sctree_is_hot_spot (GtkSCTree     *sctree,
     return FALSE;
 
   tree_row = GTK_CMCTREE_ROW (node);
+  if (!tree_row->children)
+    return FALSE;
 
   hotspot_size = clist->row_height-2;
   if (hotspot_size > clist->column[ctree->tree_column].area.width - 2)

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list