2009-01-31 [paul] 3.7.0cvs50
authorPaul Mangan <paul@claws-mail.org>
Sat, 31 Jan 2009 15:09:14 +0000 (15:09 +0000)
committerPaul Mangan <paul@claws-mail.org>
Sat, 31 Jan 2009 15:09:14 +0000 (15:09 +0000)
* src/gtk/prefswindow.c
build prefs tree in a slightly smarter way -
fix bug where if path[0] had same name as
path[1], (like in the de translation), path[1]
was lost and not shown in the window

ChangeLog
PATCHSETS
configure.ac
src/gtk/prefswindow.c

index 281076b..e831ae4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2009-01-31 [paul]      3.7.0cvs50
+
+       * src/gtk/prefswindow.c
+               build prefs tree in a slightly smarter way -
+               fix bug where if path[0] had same name as
+               path[1], (like in the de translation), path[1]
+               was lost and not shown in the window
+
 2009-01-31 [paul]      3.7.0cvs49
 
        * src/compose.c
index 7ea98eb..755d415 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( cvs diff -u -r 1.1.2.25 -r 1.1.2.26 src/prefs_compose_writing.c;  cvs diff -u -r 1.1.2.29 -r 1.1.2.30 src/prefs_message.c;  ) > 3.7.0cvs47.patchset
 ( cvs diff -u -r 1.395.2.405 -r 1.395.2.406 src/summaryview.c;  ) > 3.7.0cvs48.patchset
 ( cvs diff -u -r 1.382.2.496 -r 1.382.2.497 src/compose.c;  cvs diff -u -r 1.13.2.18 -r 1.13.2.19 src/undo.c;  ) > 3.7.0cvs49.patchset
+( cvs diff -u -r 1.12.2.51 -r 1.12.2.52 src/gtk/prefswindow.c;  ) > 3.7.0cvs50.patchset
index ef07eaf..3ff3d15 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=7
 MICRO_VERSION=0
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=49
+EXTRA_VERSION=50
 EXTRA_RELEASE=
 EXTRA_GTK2_VERSION=
 
index 1a23fc5..f59df87 100644 (file)
@@ -337,7 +337,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) {
+                       if (find_name.found && 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,