From 6e92ea0d132cf67a32fdb2a573ee8f49e74ff29a Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Thu, 8 Aug 2002 05:55:41 +0000 Subject: Set some default permanent_flags. This is the other cause of bug #28038. 2002-08-08 Jeffrey Stedfast * providers/imap/camel-imap-folder.c (camel_imap_folder_init): Set some default permanent_flags. This is the other cause of bug #28038. svn path=/trunk/; revision=17741 --- camel/ChangeLog | 6 ++++++ camel/providers/imap/camel-imap-folder.c | 3 +++ 2 files changed, 9 insertions(+) (limited to 'camel') diff --git a/camel/ChangeLog b/camel/ChangeLog index 2a102d280d..ea8e16e36b 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,3 +1,9 @@ +2002-08-08 Jeffrey Stedfast + + * providers/imap/camel-imap-folder.c (camel_imap_folder_init): Set + some default permanent_flags. This is the other cause of bug + #28038. + 2002-08-07 Jeffrey Stedfast * camel-mime-utils.c (header_encode_param): Oops - outbuf pointed diff --git a/camel/providers/imap/camel-imap-folder.c b/camel/providers/imap/camel-imap-folder.c index 05867b0629..9e390800f4 100644 --- a/camel/providers/imap/camel-imap-folder.c +++ b/camel/providers/imap/camel-imap-folder.c @@ -169,6 +169,9 @@ camel_imap_folder_init (gpointer object, gpointer klass) CamelImapFolder *imap_folder = CAMEL_IMAP_FOLDER (object); CamelFolder *folder = CAMEL_FOLDER (object); + folder->permanent_flags = CAMEL_MESSAGE_ANSWERED | CAMEL_MESSAGE_DELETED | + CAMEL_MESSAGE_DRAFT | CAMEL_MESSAGE_FLAGGED | CAMEL_MESSAGE_SEEN; + folder->folder_flags |= (CAMEL_FOLDER_HAS_SUMMARY_CAPABILITY | CAMEL_FOLDER_HAS_SEARCH_CAPABILITY); -- cgit