[Commits] [SCM] claws branch, master, updated. 4.3.0-52-g5c48a1c3e

paul at claws-mail.org paul at claws-mail.org
Sat Jan 4 08:54:59 UTC 2025


The branch, master has been updated
       via  5c48a1c3e1043fb6939839efc8cfe4d2725e92c1 (commit)
      from  3822d68492592953694f8300592b255b7cffba8c (commit)

Summary of changes:
 src/folder.c | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)


- Log -----------------------------------------------------------------
commit 5c48a1c3e1043fb6939839efc8cfe4d2725e92c1
Author: Paul <paul at claws-mail.org>
Date:   Sat Jan 4 08:54:55 2025 +0000

    fix bug 3964, 'Attachment icon doesn't show in message list unless the message is clicked and then disappears later'

diff --git a/src/folder.c b/src/folder.c
index b02b57e76..cd72710f8 100644
--- a/src/folder.c
+++ b/src/folder.c
@@ -1,6 +1,6 @@
 /*
  * Claws Mail -- a GTK based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2024 the Claws Mail team and Hiroyuki Yamamoto
+ * Copyright (C) 1999-2025 the Claws Mail team and Hiroyuki Yamamoto
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -2922,6 +2922,9 @@ gchar *folder_item_fetch_msg(FolderItem *item, gint num)
 		if ((msginfo != NULL) && !MSG_IS_SCANNED(msginfo->flags)) {
 			MimeInfo *mimeinfo;
 
+			item->cache_dirty = TRUE;
+			item->mark_dirty = TRUE;
+			item->tags_dirty = TRUE;
 			if (!folder_has_parent_of_type(msginfo->folder, F_QUEUE) && 
 			    !folder_has_parent_of_type(msginfo->folder, F_DRAFT))
 				mimeinfo = procmime_scan_file(msgfile);
@@ -2969,6 +2972,9 @@ gchar *folder_item_fetch_msg_full(FolderItem *item, gint num, gboolean headers,
 		if ((msginfo != NULL) && !MSG_IS_SCANNED(msginfo->flags)) {
 			MimeInfo *mimeinfo;
 
+			item->cache_dirty = TRUE;
+			item->mark_dirty = TRUE;
+			item->tags_dirty = TRUE;
 			if (!folder_has_parent_of_type(msginfo->folder, F_QUEUE) &&
 			    !folder_has_parent_of_type(msginfo->folder, F_DRAFT))
 				mimeinfo = procmime_scan_file(msgfile);

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list