[Commits] [SCM] claws branch, gtk3tree, updated. 3.99.0-98-gf1b181f31

thorsten at claws-mail.org thorsten at claws-mail.org
Wed Apr 7 08:58:27 CEST 2021


The branch, gtk3tree has been updated
       via  f1b181f31d1090c5b69aa65551efa43639782474 (commit)
      from  a7912610911f4e48b640225cde574826ffcc5bec (commit)

Summary of changes:
 src/folderview.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)


- Log -----------------------------------------------------------------
commit f1b181f31d1090c5b69aa65551efa43639782474
Author: Thorsten Maerz <info at netztorte.de>
Date:   Sun Apr 4 15:08:24 2021 +0200

    Expanded folders showed the wrong icon

diff --git a/src/folderview.c b/src/folderview.c
index bdd7b85dc..c1bb2ab59 100644
--- a/src/folderview.c
+++ b/src/folderview.c
@@ -1628,8 +1628,9 @@ static void folderview_update_row_iter(FolderView *folderview,
 			F_COL_NEW, has_parent ? n : "-",
 			F_COL_UNREAD, has_parent ? u : "-",
 			F_COL_TOTAL, has_parent ? t : "-",
-			F_COL_ICON, folderview->open_item == item ?
-				pixbuf_open : pixbuf_closed,
+			F_COL_ICON, (expanded || 
+				(folderview->open_item == item))
+				? pixbuf_open : pixbuf_closed,
 			F_COL_FONT, use_bold ?
 				folderview->bold_font : folderview->normal_font,
 			F_COL_COLOR, color,

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list