diff options
author | Jeffrey Stedfast <fejj@src.gnome.org> | 2004-11-11 02:42:12 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2004-11-11 02:42:12 +0800 |
commit | 99eca3388b3f73499acde90ae3564c2c8eea1ad8 (patch) | |
tree | 25a300c440243de2d2ec047ea745d41928a5bdc9 /camel | |
parent | 9796062eb655d72dca73b9ee34ea3267388838ce (diff) | |
download | gsoc2013-evolution-99eca3388b3f73499acde90ae3564c2c8eea1ad8.tar.gz gsoc2013-evolution-99eca3388b3f73499acde90ae3564c2c8eea1ad8.tar.zst gsoc2013-evolution-99eca3388b3f73499acde90ae3564c2c8eea1ad8.zip |
enabled \\Recent flag
svn path=/trunk/; revision=27885
Diffstat (limited to 'camel')
-rw-r--r-- | camel/providers/imap4/camel-imap4-folder.c | 2 | ||||
-rw-r--r-- | camel/providers/imap4/camel-imap4-summary.h | 2 | ||||
-rw-r--r-- | camel/providers/imap4/camel-imap4-utils.c | 16 |
3 files changed, 11 insertions, 9 deletions
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 |