fix threading for null message ids, closes patch #521601, submitted by Bob Forsman...
authorAlfons Hoogervorst <alfons@proteus.demon.nl>
Sun, 24 Feb 2002 13:10:03 +0000 (13:10 +0000)
committerAlfons Hoogervorst <alfons@proteus.demon.nl>
Sun, 24 Feb 2002 13:10:03 +0000 (13:10 +0000)
AUTHORS
ChangeLog.claws
configure.in
src/summaryview.c

diff --git a/AUTHORS b/AUTHORS
index eb35a3e..2dd4e74 100644 (file)
--- a/AUTHORS
+++ b/AUTHORS
@@ -117,3 +117,4 @@ contributors (beside the above; based on Changelog)
        Alessandro Maestri
        Neill Miller
        Oliver Haertel
+       Bob Forsman
index f4c0de8..83b2fcc 100644 (file)
@@ -1,3 +1,10 @@
+2002-02-24 [alfons]    0.7.2.claws10
+
+       * AUTHORS
+       * src/summaryview.c
+               fix threading for null message ids, closes patch #521601,
+               submitted by Bob Forsman <hammor@users.sourceforge.net>
+
 2002-02-24 [alfons]    0.7.2claws9
 
        * src/summaryview.c
index b1aecaf..f646280 100644 (file)
@@ -8,7 +8,7 @@ MINOR_VERSION=7
 MICRO_VERSION=2
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws9
+EXTRA_VERSION=claws10
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index 4b5ee5c..de3ee9c 100644 (file)
@@ -1954,7 +1954,7 @@ gboolean summary_insert_gnode_func(GtkCTree *ctree, guint depth, GNode *gnode,
        GTKUT_CTREE_NODE_SET_ROW_DATA(cnode, msginfo);
        summary_set_marks_func(ctree, cnode, summaryview);
 
-       if (msgid)
+       if (msgid && msgid[0] != 0)
                g_hash_table_insert(msgid_table, (gchar *)msgid, cnode);
 
        return TRUE;
@@ -2033,7 +2033,7 @@ static void summary_set_ctree_from_list(SummaryView *summaryview,
                        GTKUT_CTREE_NODE_SET_ROW_DATA(node, msginfo);
                        summary_set_marks_func(ctree, node, summaryview);
 
-                       if (msginfo->msgid)
+                       if (msginfo->msgid && msginfo->msgid[0] != 0)
                                g_hash_table_insert(msgid_table,
                                                    msginfo->msgid, node);