From 836a45f6ed5cea68d00e85c48fcc3f5459306382 Mon Sep 17 00:00:00 2001 From: Christoph Hohmann Date: Tue, 4 Feb 2003 17:05:24 +0000 Subject: [PATCH 1/1] * 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) --- ChangeLog.claws | 7 +++++++ configure.ac | 2 +- src/folder.c | 4 ++-- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/ChangeLog.claws b/ChangeLog.claws index 08b3bfbb3..dd9afe603 100644 --- a/ChangeLog.claws +++ b/ChangeLog.claws @@ -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 diff --git a/configure.ac b/configure.ac index 94dcb0d83..5516825fc 100644 --- a/configure.ac +++ b/configure.ac @@ -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 diff --git a/src/folder.c b/src/folder.c index 690f875fa..a005c1c1f 100644 --- a/src/folder.c +++ b/src/folder.c @@ -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; -- 2.25.1