aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2002-07-22 15:28:49 +0800
committerMichael Zucci <zucchi@src.gnome.org>2002-07-22 15:28:49 +0800
commit1c34a2bf9e2af5fc4ea52f7b983071cddd390611 (patch)
tree6ddd7dfc4b73701f9a72d456ae5df3f573261716
parentb7a2c4682c91a8809eae7f55e783f93e652ee142 (diff)
downloadgsoc2013-evolution-1c34a2bf9e2af5fc4ea52f7b983071cddd390611.tar
gsoc2013-evolution-1c34a2bf9e2af5fc4ea52f7b983071cddd390611.tar.gz
gsoc2013-evolution-1c34a2bf9e2af5fc4ea52f7b983071cddd390611.tar.bz2
gsoc2013-evolution-1c34a2bf9e2af5fc4ea52f7b983071cddd390611.tar.lz
gsoc2013-evolution-1c34a2bf9e2af5fc4ea52f7b983071cddd390611.tar.xz
gsoc2013-evolution-1c34a2bf9e2af5fc4ea52f7b983071cddd390611.tar.zst
gsoc2013-evolution-1c34a2bf9e2af5fc4ea52f7b983071cddd390611.zip
Oops, forgot to implement this. Fixes #24604.
2002-07-22 Not Zed <NotZed@Ximian.com> * camel-vee-folder.c (vee_set_message_user_tag): Oops, forgot to implement this. Fixes #24604. svn path=/trunk/; revision=17522
-rw-r--r--camel/ChangeLog5
-rw-r--r--camel/camel-vee-folder.c15
2 files changed, 20 insertions, 0 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index 90cdcee296..3315a5ce26 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,3 +1,8 @@
+2002-07-22 Not Zed <NotZed@Ximian.com>
+
+ * camel-vee-folder.c (vee_set_message_user_tag): Oops, forgot to
+ implement this. Fixes #24604.
+
2002-07-21 Jeffrey Stedfast <fejj@ximian.com>
* camel-mime-filter-crlf.c (filter): Only add a \r if the
diff --git a/camel/camel-vee-folder.c b/camel/camel-vee-folder.c
index ef79269bd9..a2d384174b 100644
--- a/camel/camel-vee-folder.c
+++ b/camel/camel-vee-folder.c
@@ -65,6 +65,7 @@ static GPtrArray *vee_search_by_uids(CamelFolder *folder, const char *expression
static void vee_set_message_flags (CamelFolder *folder, const char *uid, guint32 flags, guint32 set);
static void vee_set_message_user_flag (CamelFolder *folder, const char *uid, const char *name, gboolean value);
+static void vee_set_message_user_tag(CamelFolder *folder, const char *uid, const char *name, const char *value);
static void vee_rename(CamelFolder *folder, const char *new);
static void camel_vee_folder_class_init (CamelVeeFolderClass *klass);
@@ -135,6 +136,7 @@ camel_vee_folder_class_init (CamelVeeFolderClass *klass)
folder_class->set_message_flags = vee_set_message_flags;
folder_class->set_message_user_flag = vee_set_message_user_flag;
+ folder_class->set_message_user_tag = vee_set_message_user_tag;
folder_class->rename = vee_rename;
@@ -796,6 +798,19 @@ vee_set_message_user_flag(CamelFolder *folder, const char *uid, const char *name
}
static void
+vee_set_message_user_tag(CamelFolder *folder, const char *uid, const char *name, const char *value)
+{
+ CamelVeeMessageInfo *mi;
+
+ mi = (CamelVeeMessageInfo *)camel_folder_summary_uid(folder->summary, uid);
+ if (mi) {
+ camel_folder_set_message_user_tag(mi->folder, camel_message_info_uid(mi) + 8, name, value);
+ camel_folder_summary_info_free(folder->summary, (CamelMessageInfo *)mi);
+ ((CamelFolderClass *)camel_vee_folder_parent)->set_message_user_tag(folder, uid, name, value);
+ }
+}
+
+static void
vee_append_message(CamelFolder *folder, CamelMimeMessage *message, const CamelMessageInfo *info, char **appended_uid, CamelException *ex)
{
camel_exception_set(ex, CAMEL_EXCEPTION_SYSTEM, _("Cannot copy or move messages into a Virtual Folder"));