aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-08-08 13:55:41 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-08-08 13:55:41 +0800
commit6e92ea0d132cf67a32fdb2a573ee8f49e74ff29a (patch)
tree1d0c6356220982d960deab3b44676042c9feac88
parent1e5b5f8b7ecb43d22007fa90f724d7dba3bcb98f (diff)
downloadgsoc2013-evolution-6e92ea0d132cf67a32fdb2a573ee8f49e74ff29a.tar.gz
gsoc2013-evolution-6e92ea0d132cf67a32fdb2a573ee8f49e74ff29a.tar.zst
gsoc2013-evolution-6e92ea0d132cf67a32fdb2a573ee8f49e74ff29a.zip
Set some default permanent_flags. This is the other cause of bug #28038.
2002-08-08 Jeffrey Stedfast <fejj@ximian.com> * 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
-rw-r--r--camel/ChangeLog6
-rw-r--r--camel/providers/imap/camel-imap-folder.c3
2 files changed, 9 insertions, 0 deletions
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 <fejj@ximian.com>
+
+ * 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 <fejj@ximian.com>
* 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);