aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
author9 <NotZed@Ximian.com>2001-10-10 06:27:07 +0800
committerMichael Zucci <zucchi@src.gnome.org>2001-10-10 06:27:07 +0800
commiteacb6df29372f530be39df143b47d82484453cb9 (patch)
treef498d1187f7bc5929defd482d6cab8d02fdc0cc5 /mail
parentd5e090651bbd30ee761624187db6ad7920162aa8 (diff)
downloadgsoc2013-evolution-eacb6df29372f530be39df143b47d82484453cb9.tar
gsoc2013-evolution-eacb6df29372f530be39df143b47d82484453cb9.tar.gz
gsoc2013-evolution-eacb6df29372f530be39df143b47d82484453cb9.tar.bz2
gsoc2013-evolution-eacb6df29372f530be39df143b47d82484453cb9.tar.lz
gsoc2013-evolution-eacb6df29372f530be39df143b47d82484453cb9.tar.xz
gsoc2013-evolution-eacb6df29372f530be39df143b47d82484453cb9.tar.zst
gsoc2013-evolution-eacb6df29372f530be39df143b47d82484453cb9.zip
Implement.
2001-10-09 <NotZed@Ximian.com> * mail-local.c (mlf_search_by_uids): Implement. svn path=/trunk/; revision=13533
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog4
-rw-r--r--mail/mail-local.c19
2 files changed, 23 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 44e9ff183d..c067549acb 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,7 @@
+2001-10-09 <NotZed@Ximian.com>
+
+ * mail-local.c (mlf_search_by_uids): Implement.
+
2001-10-09 Jeffrey Stedfast <fejj@ximian.com>
* folder-browser-ui.c (folder_browser_ui_add_message): Create a
diff --git a/mail/mail-local.c b/mail/mail-local.c
index 2661572c4a..85bedf43cc 100644
--- a/mail/mail-local.c
+++ b/mail/mail-local.c
@@ -324,6 +324,24 @@ mlf_search_by_expression(CamelFolder *folder, const char *expression, CamelExcep
return ret;
}
+static GPtrArray *
+mlf_search_by_uids(CamelFolder *folder, const char *expression, GPtrArray *uids, CamelException *ex)
+{
+ MailLocalFolder *mlf = MAIL_LOCAL_FOLDER (folder);
+ GPtrArray *ret;
+ CamelFolder *f;
+
+ LOCAL_FOLDER_LOCK(mlf);
+ f = mlf->real_folder;
+ camel_object_ref((CamelObject *)f);
+ LOCAL_FOLDER_UNLOCK(mlf);
+
+ ret = camel_folder_search_by_uids(f, expression, uids, ex);
+ camel_object_unref((CamelObject *)f);
+
+ return ret;
+}
+
static void
mlf_search_free(CamelFolder *folder, GPtrArray *result)
{
@@ -476,6 +494,7 @@ mlf_class_init (CamelObjectClass *camel_object_class)
camel_folder_class->search_free = mlf_search_free;
camel_folder_class->search_by_expression = mlf_search_by_expression;
+ camel_folder_class->search_by_uids = mlf_search_by_uids;
camel_folder_class->set_message_flags = mlf_set_message_flags;
camel_folder_class->set_message_user_flag = mlf_set_message_user_flag;
camel_folder_class->set_message_user_tag = mlf_set_message_user_tag;