[Commits] [SCM] claws branch, master, updated. 3.13.0-76-gfee90db

Colin colin at claws-mail.org
Tue Nov 17 11:12:15 CET 2015


The branch, master has been updated
       via  fee90dbf349e4d16a11a4ec66ed21ea7610ce8f1 (commit)
      from  4c14c38f44d17da42f7817ecf04b3c1d6d6ccf5c (commit)

Summary of changes:
 src/gtk/prefswindow.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


- Log -----------------------------------------------------------------
commit fee90dbf349e4d16a11a4ec66ed21ea7610ce8f1
Author: Colin Leroy <colin at colino.net>
Date:   Tue Nov 17 11:11:56 2015 +0100

    Fix bug #3559 more correctly

diff --git a/src/gtk/prefswindow.c b/src/gtk/prefswindow.c
index f6c840b..99f6362 100644
--- a/src/gtk/prefswindow.c
+++ b/src/gtk/prefswindow.c
@@ -320,7 +320,7 @@ static void prefswindow_build_tree(GtkWidget *tree_view, GSList *prefs_pages,
 			gtk_tree_model_foreach(GTK_TREE_MODEL(store), 
 					       (GtkTreeModelForeachFunc) find_node_by_name,
 					       &find_name);
-			if (find_name.found && page->path[i] != page->path[i-1]) {
+			if (find_name.found && (i == 0 || page->path[i] != page->path[i-1])) {
 				node = find_name.node;
 				gtk_tree_model_get(GTK_TREE_MODEL(store), &node,
 						   PREFS_PAGE_DATA, &prefs_node,

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list