From 99eca3388b3f73499acde90ae3564c2c8eea1ad8 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Wed, 10 Nov 2004 18:42:12 +0000 Subject: enabled \\Recent flag svn path=/trunk/; revision=27885 --- camel/providers/imap4/camel-imap4-folder.c | 2 +- camel/providers/imap4/camel-imap4-summary.h | 2 ++ camel/providers/imap4/camel-imap4-utils.c | 16 ++++++++-------- 3 files changed, 11 insertions(+), 9 deletions(-) (limited to 'camel/providers') diff --git a/camel/providers/imap4/camel-imap4-folder.c b/camel/providers/imap4/camel-imap4-folder.c index 6c989b6908..7ee109a5b4 100644 --- a/camel/providers/imap4/camel-imap4-folder.c +++ b/camel/providers/imap4/camel-imap4-folder.c @@ -382,7 +382,7 @@ static struct { { "\\Deleted", CAMEL_MESSAGE_DELETED }, { "\\Draft", CAMEL_MESSAGE_DRAFT }, { "\\Flagged", CAMEL_MESSAGE_FLAGGED }, - /*{ "Forwarded", CAMEL_MESSAGE_FORWARDED },*/ + /*{ "$Forwarded", CAMEL_MESSAGE_FORWARDED },*/ { "\\Seen", CAMEL_MESSAGE_SEEN }, }; diff --git a/camel/providers/imap4/camel-imap4-summary.h b/camel/providers/imap4/camel-imap4-summary.h index 23218ff804..7de05a5cc6 100644 --- a/camel/providers/imap4/camel-imap4-summary.h +++ b/camel/providers/imap4/camel-imap4-summary.h @@ -42,6 +42,8 @@ typedef struct _CamelIMAP4MessageInfo CamelIMAP4MessageInfo; typedef struct _CamelIMAP4Summary CamelIMAP4Summary; typedef struct _CamelIMAP4SummaryClass CamelIMAP4SummaryClass; +#define CAMEL_IMAP4_MESSAGE_RECENT (1 << 17) + struct _CamelIMAP4MessageInfo { CamelMessageInfo parent_info; diff --git a/camel/providers/imap4/camel-imap4-utils.c b/camel/providers/imap4/camel-imap4-utils.c index 29ffb945fe..d1bcbca27f 100644 --- a/camel/providers/imap4/camel-imap4-utils.c +++ b/camel/providers/imap4/camel-imap4-utils.c @@ -403,13 +403,13 @@ static struct { const char *name; guint32 flag; } imap4_flags[] = { - { "\\Answered", CAMEL_MESSAGE_ANSWERED }, - { "\\Deleted", CAMEL_MESSAGE_DELETED }, - { "\\Draft", CAMEL_MESSAGE_DRAFT }, - { "\\Flagged", CAMEL_MESSAGE_FLAGGED }, - { "\\Seen", CAMEL_MESSAGE_SEEN }, - /*{ "\\Recent", CAMEL_MESSAGE_RECENT },*/ - { "\\*", CAMEL_MESSAGE_USER }, + { "\\Answered", CAMEL_MESSAGE_ANSWERED }, + { "\\Deleted", CAMEL_MESSAGE_DELETED }, + { "\\Draft", CAMEL_MESSAGE_DRAFT }, + { "\\Flagged", CAMEL_MESSAGE_FLAGGED }, + { "\\Seen", CAMEL_MESSAGE_SEEN }, + { "\\Recent", CAMEL_IMAP4_MESSAGE_RECENT }, + { "\\*", CAMEL_MESSAGE_USER }, }; #if 0 @@ -417,7 +417,7 @@ static struct { const char *name; guint32 flag; } imap4_user_flags[] = { - { "Forwarded", CAMEL_MESSAGE_FORWARDED }, + { "$Forwarded", CAMEL_MESSAGE_FORWARDED }, }; #endif -- cgit