[Commits] [SCM] claws branch, master, updated. 3.10.1-149-g7d0fc86

ticho at claws-mail.org ticho at claws-mail.org
Wed Aug 20 13:03:05 CEST 2014


The branch, master has been updated
       via  7d0fc8614bba03387110f92587cd3de3b0e4152d (commit)
      from  f1fd770f62d2239bfc0f4ad0e8369f30c370b789 (commit)

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


- Log -----------------------------------------------------------------
commit 7d0fc8614bba03387110f92587cd3de3b0e4152d
Author: Andrej Kacian <ticho at claws-mail.org>
Date:   Wed Aug 20 13:02:24 2014 +0200

    When changing focus in folderview, make sure the newly focused folder is visible first.

diff --git a/src/folderview.c b/src/folderview.c
index d9d3a75..c061c0c 100644
--- a/src/folderview.c
+++ b/src/folderview.c
@@ -857,6 +857,8 @@ static void folderview_select_node(FolderView *folderview, GtkCMCTreeNode *node)
 		return;
 	}
 
+	gtkut_ctree_expand_parent_all(ctree, node);
+
 	folderview->open_folder = TRUE;
 	gtkut_ctree_set_focus_row(ctree, node);
 	gtk_cmctree_select(ctree, node);
@@ -866,8 +868,6 @@ static void folderview_select_node(FolderView *folderview, GtkCMCTreeNode *node)
 		summary_grab_focus(folderview->summaryview);
 	else
 		gtk_widget_grab_focus(folderview->ctree);
-
-	gtkut_ctree_expand_parent_all(ctree, node);
 }
 
 void folderview_unselect(FolderView *folderview)

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list