[Commits] [SCM] claws branch, gtk3tree, updated. 3.99.0-153-g5b7d96bcf

thorsten at claws-mail.org thorsten at claws-mail.org
Sat Jun 26 09:06:30 CEST 2021


The branch, gtk3tree has been updated
       via  5b7d96bcf4455c19e18a6e7977fdb051ffcf982c (commit)
       via  e71251522fbdf40548f455f119707fdbed3ab786 (commit)
       via  88f72a3216b336abe186daf5a0d8821e87eb996e (commit)
       via  bb17a3e4c4b6c5c9b89c507553150ec5db0bb3de (commit)
       via  0630129bc9f4bb740867699fea56e795ae887e78 (commit)
       via  93c1503de4633bf15b730ebfa44a958e57649a4f (commit)
       via  fa3c6f74e2217af644520034c45ef8cb432934ce (commit)
       via  251d9c2abe84debbb488fa8a6d40fe1436abbd12 (commit)
       via  8f2f7560fe453f690d1502d4d7870ba0bcff4456 (commit)
       via  f6269b6eb76e33668b9c3b0c37b72aacb37ec58c (commit)
       via  0ae84961ce30b9049aebb1bebe3c37bd030d282e (commit)
       via  d6883c43702276c4040eb5692d5e00cdfec78455 (commit)
       via  cfd5ff71f414d6b72fda2c70d256280c138ecb5a (commit)
       via  56ed4e3c082bbf349b51a873cf09a4b1ed0ec5ef (commit)
       via  e086a2d952282ac7c618b4df50ffce9c7e43ff73 (commit)
      from  5cd8421c171d0540851cac031acaf7a42026b736 (commit)

Summary of changes:
 po/es.po                                  | 6283 +++++++++++++++--------------
 src/common/utils.c                        |   10 +-
 src/folderview.c                          |    5 +
 src/plugins/fancy/fancy_viewer.c          |   64 +-
 src/plugins/libravatar/libravatar_prefs.c |    4 +-
 src/summaryview.c                         |   21 +-
 src/textview.c                            |    4 +-
 7 files changed, 3352 insertions(+), 3039 deletions(-)


- Log -----------------------------------------------------------------
commit 5b7d96bcf4455c19e18a6e7977fdb051ffcf982c
Author: Thorsten Maerz <info at netztorte.de>
Date:   Sat Jun 26 09:00:06 2021 +0200

    Expand tree before selecting a node (Bug 4490)
    
    Selecting a collapsed tree node does not work,
    it needs to be expanded first.
    https://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=4490

diff --git a/src/folderview.c b/src/folderview.c
index 402712aa3..dd7f72f0d 100644
--- a/src/folderview.c
+++ b/src/folderview.c
@@ -1288,6 +1288,11 @@ void folderview_select(FolderView *folderview, FolderItem *item)
 
 	/* Place cursor on our row */
 	if (ctx->iter != NULL) {
+		/* Expand row first (can't be selected otherwise) */
+		GtkTreePath *path = gtk_tree_model_get_path(model, ctx->iter);
+		gtk_tree_view_expand_to_path(GTK_TREE_VIEW(folderview->treeview),path);
+		gtk_tree_path_free(path);
+
 		GtkTreeSelection *selection =
 			gtk_tree_view_get_selection(GTK_TREE_VIEW(folderview->treeview));
 		gtk_tree_selection_select_iter(selection, ctx->iter);

commit e71251522fbdf40548f455f119707fdbed3ab786
Merge: 5cd8421c1 88f72a321
Author: Thorsten Maerz <info at netztorte.de>
Date:   Sat Jun 26 08:37:20 2021 +0200

    Merge branch 'gtk3' into gtk3tree


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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list