aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-folder.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2004-04-08 17:24:09 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-04-08 17:24:09 +0800
commitad769a4440cb343e1afd5abbd59a4d4c4d07d9d4 (patch)
treebb6d2afd362530b93f33826b53200b43d69cd437 /camel/camel-folder.c
parent00f84d0c5a594736ddc17ec8115b3a858e085c0a (diff)
downloadgsoc2013-evolution-ad769a4440cb343e1afd5abbd59a4d4c4d07d9d4.tar
gsoc2013-evolution-ad769a4440cb343e1afd5abbd59a4d4c4d07d9d4.tar.gz
gsoc2013-evolution-ad769a4440cb343e1afd5abbd59a4d4c4d07d9d4.tar.bz2
gsoc2013-evolution-ad769a4440cb343e1afd5abbd59a4d4c4d07d9d4.tar.lz
gsoc2013-evolution-ad769a4440cb343e1afd5abbd59a4d4c4d07d9d4.tar.xz
gsoc2013-evolution-ad769a4440cb343e1afd5abbd59a4d4c4d07d9d4.tar.zst
gsoc2013-evolution-ad769a4440cb343e1afd5abbd59a4d4c4d07d9d4.zip
always set the seen flag when we delete a message. I demand that this may,
2004-04-08 Not Zed <NotZed@Ximian.com> * camel-folder.h (camel_folder_delete_message): always set the seen flag when we delete a message. I demand that this may, or may not, fix #56549. * camel-folder.c: (camel_folder_set_message_flags): fixed the doco slightly (well reversed the flag and set explanation) and give an example. svn path=/trunk/; revision=25371
Diffstat (limited to 'camel/camel-folder.c')
-rw-r--r--camel/camel-folder.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/camel/camel-folder.c b/camel/camel-folder.c
index 129ca418ce..ca30bb24cd 100644
--- a/camel/camel-folder.c
+++ b/camel/camel-folder.c
@@ -756,10 +756,13 @@ set_message_flags(CamelFolder *folder, const char *uid, guint32 flags, guint32 s
* @flags: a set of CamelMessageFlag values to set
* @set: the mask of values in @flags to use.
*
- * Sets those flags specified by @set to the values specified by @flags
+ * Sets those flags specified by @flags to the values specified by @set
* on the indicated message. (This may or may not persist after the
* folder or store is closed. See camel_folder_get_permanent_flags().)
*
+ * E.g. to set the deleted flag and clear the draft flag, use
+ * set_message_flags(folder, uid, CAMEL_MESSAGE_DELETED|CAMEL_MESSAGE_DRAFT, CAMEL_MESSAGE_DELETED);
+ *
* Return Value: TRUE if the flags were changed, false otherwise.
**/
gboolean