|
sylpheed-jp:241
From: Ado Nishimura <ado@xxxxxxxxxx>
IMAPサーバーでメッセージのDELETEフラグを受信しても、sylpheed上でメッセージにDELETE属性がつかないので、おかしいな?と思ったのですが、これは、MHでもセーブされないのですね。なにか意図があっての事かもしれませんが、個人的な意見としてはできればセーブされた方が使いやすいのですが、、、
ともあれ、簡単に対応できたので、パッチにして送ります。
Index: procmsg.c
===================================================================
RCS file: /cvsroot/sylpheed/sylpheed/src/procmsg.c,v
retrieving revision 1.26
diff -u -r1.26 procmsg.c
--- procmsg.c 2001/01/02 06:13:18 1.26
+++ procmsg.c 2001/01/10 11:36:46
@@ -301,7 +301,7 @@
{
MsgFlags flags;
- flags = msginfo->flags & (MSG_NEW|MSG_UNREAD|MSG_IMPORTANT);
+ flags = msginfo->flags & (MSG_NEW|MSG_UNREAD|MSG_IMPORTANT|MSG_DELETED);
WRITE_CACHE_DATA_INT(msginfo->msgnum, fp);
WRITE_CACHE_DATA_INT(flags, fp);
Index: summaryview.c
===================================================================
RCS file: /cvsroot/sylpheed/sylpheed/src/summaryview.c,v
retrieving revision 1.42
diff -u -r1.42 summaryview.c
--- summaryview.c 2001/01/05 17:10:12 1.42
+++ summaryview.c 2001/01/10 11:36:51
@@ -900,6 +900,13 @@
gtk_ctree_node_set_pixmap(ctree, node, S_COL_MIME,
clipxpm, clipxpmmask);
+ if (MSG_IS_DELETED(msginfo->flags)) {
+ gtk_ctree_node_set_text(ctree, node, S_COL_MARK, _("D"));
+ gtk_ctree_node_set_foreground(ctree, node,
+ &summaryview->color_dim);
+ summaryview->deleted++;
+ }
+
summaryview->messages++;
summaryview->total_size += msginfo->size;
}
--
西村亜土
ado@xxxxxxxxxx
-> 241 2001-01-10 20:46 [ado@xxxxxxxxxx ] DELETE 属性をセーブするパッチ 242 2001-01-10 20:55 ┗[ado@xxxxxxxxxx ] |