aboutsummaryrefslogtreecommitdiff
path: root/src/folderview.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-11-16 07:04:09 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-11-16 07:04:09 +0000
commitf48d5f536e0de866eaa1894a96e172980171e765 (patch)
tree3b954673ef3cef1963844e116fb9df5726392a1e /src/folderview.c
parentcd17b1aeb12d55754344a57720b089e6b28ca271 (diff)
don't show '+' (unread) mark even if unread messages are in Trash.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@752 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/folderview.c')
-rw-r--r--src/folderview.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/folderview.c b/src/folderview.c
index 4cb0ceb8..8d88774a 100644
--- a/src/folderview.c
+++ b/src/folderview.c
@@ -1032,6 +1032,8 @@ static gboolean folderview_search_unread_recursive(GtkTreeModel *model,
if (iter) {
gtk_tree_model_get(model, iter, COL_FOLDER_ITEM, &item, -1);
if (item) {
+ if (item->stype == F_TRASH)
+ return FALSE;
if (item->unread > 0 ||
(item->stype == F_QUEUE && item->total > 0))
return TRUE;