2005-11-18 [cleroy] 1.9.100cvs18
authorColin Leroy <colin@colino.net>
Fri, 18 Nov 2005 07:56:45 +0000 (07:56 +0000)
committerColin Leroy <colin@colino.net>
Fri, 18 Nov 2005 07:56:45 +0000 (07:56 +0000)
* src/summaryview.c
Use column 0 instead of -1 in
gtk_ctree_node_moveto, in a naive
hope it'll fix the gtk-related crashes

ChangeLog
PATCHSETS
configure.ac
src/summaryview.c

index e12ada8..710c111 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2005-11-18 [cleroy]    1.9.100cvs18
+
+       * src/summaryview.c
+               Use column 0 instead of -1 in 
+               gtk_ctree_node_moveto, in a naive
+               hope it'll fix the gtk-related crashes
+
 2005-11-18 [cleroy]    1.9.100cvs17
 
        * src/gtk/inputdialog.c
index a418750..41ccf16 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( cvs diff -u -r 1.1.2.24 -r 1.1.2.25 src/gtk/quicksearch.c;  ) > 1.9.100cvs15.patchset
 ( ) > 1.9.100cvs16.patchset
 ( cvs diff -u -r 1.2.2.12 -r 1.2.2.13 src/gtk/inputdialog.c;  ) > 1.9.100cvs17.patchset
+( cvs diff -u -r 1.395.2.148 -r 1.395.2.149 src/summaryview.c;  ) > 1.9.100cvs18.patchset
index 3f6df35..bab839d 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=9
 MICRO_VERSION=100
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=17
+EXTRA_VERSION=18
 EXTRA_RELEASE=
 EXTRA_GTK2_VERSION=
 
index 624cd4f..91f5be1 100644 (file)
@@ -1610,7 +1610,7 @@ void summary_select_node(SummaryView *summaryview, GtkCTreeNode *node,
                                g_warning("crash avoidance hack 2\n");
                                return;
                        }
-                       gtk_ctree_node_moveto(ctree, node, -1, 0.5, 0);
+                       gtk_ctree_node_moveto(ctree, node, 0, 0.5, 0);
                }
                summary_unselect_all(summaryview);
                if (display_msg && summaryview->displayed == node)
@@ -1824,7 +1824,7 @@ void summary_attract_by_subject(SummaryView *summaryview)
 
        g_hash_table_destroy(subject_table);
 
-       gtk_ctree_node_moveto(ctree, summaryview->selected, -1, 0.5, 0);
+       gtk_ctree_node_moveto(ctree, summaryview->selected, 0, 0.5, 0);
 
        gtk_clist_thaw(clist);
 
@@ -2203,7 +2203,7 @@ void summary_sort(SummaryView *summaryview,
 
                gtk_sctree_sort_recursive(ctree, NULL);
 
-               gtk_ctree_node_moveto(ctree, summaryview->selected, -1, 0.5, 0);
+               gtk_ctree_node_moveto(ctree, summaryview->selected, 0, 0.5, 0);
 
                main_window_cursor_normal(summaryview->mainwin);
                 gtk_clist_thaw(clist);
@@ -3792,7 +3792,7 @@ gboolean summary_execute(SummaryView *summaryview)
        summary_update_status(summaryview);
        summary_status_show(summaryview);
 
-       gtk_ctree_node_moveto(ctree, summaryview->selected, -1, 0.5, 0);
+       gtk_ctree_node_moveto(ctree, summaryview->selected, 0, 0.5, 0);
 
        summary_unlock(summaryview);
        
@@ -4136,7 +4136,7 @@ void summary_expand_threads(SummaryView *summaryview)
 
        summaryview->thread_collapsed = FALSE;
 
-       gtk_ctree_node_moveto(ctree, summaryview->selected, -1, 0.5, 0);
+       gtk_ctree_node_moveto(ctree, summaryview->selected, 0, 0.5, 0);
 }
 
 void summary_collapse_threads(SummaryView *summaryview)
@@ -4156,7 +4156,7 @@ void summary_collapse_threads(SummaryView *summaryview)
        
        summaryview->thread_collapsed = TRUE;
 
-       gtk_ctree_node_moveto(ctree, summaryview->selected, -1, 0.5, 0);
+       gtk_ctree_node_moveto(ctree, summaryview->selected, 0, 0.5, 0);
 }
 
 void summary_filter(SummaryView *summaryview, gboolean selected_only)