[evolution-data-server] Bug #681318 - Filter by Source account doesn't match in local folders
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Bug #681318 - Filter by Source account doesn't match in local folders
- Date: Tue, 7 Aug 2012 16:16:05 +0000 (UTC)
commit 7fef1c9cefcf33a6ec66e0fc15338cc08df13e47
Author: Milan Crha <mcrha redhat com>
Date: Tue Aug 7 18:13:51 2012 +0200
Bug #681318 - Filter by Source account doesn't match in local folders
camel/camel-filter-driver.c | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/camel/camel-filter-driver.c b/camel/camel-filter-driver.c
index 7347adf..07fe106 100644
--- a/camel/camel-filter-driver.c
+++ b/camel/camel-filter-driver.c
@@ -1654,6 +1654,16 @@ camel_filter_driver_filter_message (CamelFilterDriver *driver,
if (message != NULL && camel_mime_message_get_source (message) == NULL)
camel_mime_message_set_source (message, original_store_uid);
+ if (g_strcmp0 (store_uid, "local") == 0 ||
+ g_strcmp0 (store_uid, "vfolder") == 0) {
+ store_uid = NULL;
+ }
+
+ if (g_strcmp0 (original_store_uid, "local") == 0 ||
+ g_strcmp0 (original_store_uid, "vfolder") == 0) {
+ original_store_uid = NULL;
+ }
+
list = g_queue_peek_head_link (&driver->priv->rules);
result = CAMEL_SEARCH_NOMATCH;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]