* src/folder.c
authorChristoph Hohmann <reboot@gmx.ch>
Tue, 4 Feb 2003 17:05:24 +0000 (17:05 +0000)
committerChristoph Hohmann <reboot@gmx.ch>
Tue, 4 Feb 2003 17:05:24 +0000 (17:05 +0000)
        first add the new message to the cache, then
        send the update notification
        (closes bug 39 after sending message folderview doesnt get updated)

ChangeLog.claws
configure.ac
src/folder.c

index 08b3bfbb3984506b5898e2bb1a37f07c1ce8ea67..dd9afe603d897013393802e6476a1debc3f390f9 100644 (file)
@@ -1,3 +1,10 @@
+2003-02-04 [christoph] 0.8.9claws39
+
+       * src/folder.c
+               first add the new message to the cache, then
+               send the update notification
+               (closes bug 39 after sending message folderview doesnt get updated)
+
 2003-02-04 [colin]     0.8.9claws38
 
        * src/inc.c
index 94dcb0d83a563b2c97a66cec0700e09e78d9fb78..5516825fcc6aefc22a738a11f18598f5ac2c3d62 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=8
 MICRO_VERSION=9
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws38
+EXTRA_VERSION=claws39
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index 690f875faa0d3148f79b0aeaae77a8d7b8392090..a005c1c1f8257cb83b1c0eb4f4fce0bfdd2410e0 100644 (file)
@@ -1526,11 +1526,11 @@ gint folder_item_add_msg(FolderItem *dest, const gchar *file,
                        if (procmsg_msg_has_flagged_parent(msginfo, MSG_IGNORE_THREAD))
                                procmsg_msginfo_set_flags(msginfo, MSG_IGNORE_THREAD, 0);
                        dest->total++;
-                       folder_item_update(dest, F_ITEM_UPDATE_MSGCNT | F_ITEM_UPDATE_CONTENT);
 
                        msgcache_add_msg(dest->cache, msginfo);
-
                        procmsg_msginfo_free(msginfo);
+
+                       folder_item_update(dest, F_ITEM_UPDATE_MSGCNT | F_ITEM_UPDATE_CONTENT);
                }
 
                 dest->last_num = num;