[evolution/gnome-3-2] Include searching Bcc header while looking for recipients



commit 34d2f1db2e06993034d3849a61ce126d087f4ca9
Author: Chenthill Palanisamy <pchenthill novell com>
Date:   Fri Mar 9 10:18:49 2012 +0530

    Include searching Bcc header while looking for recipients

 mail/searchtypes.xml |   24 ++++++++++++++++--------
 1 files changed, 16 insertions(+), 8 deletions(-)
---
diff --git a/mail/searchtypes.xml b/mail/searchtypes.xml
index bac9794..15eacc0 100644
--- a/mail/searchtypes.xml
+++ b/mail/searchtypes.xml
@@ -55,7 +55,8 @@
      <title>contains</title>
      <code>
        (match-all (or (header-contains "To" ${recipient})
-                      (header-contains "Cc" ${recipient})))
+                   	(header-contains "Cc" ${recipient})
+   		   	(header-contains "Bcc" ${recipient})))
      </code>
     </option>
     <option value="not contains">
@@ -63,14 +64,16 @@
      <code>
        (match-all (not (or
                           (header-contains "To" ${recipient})
-                         (header-contains "Cc" ${recipient}))))
+                   	 (header-contains "Cc" ${recipient})
+                         (header-contains "Bcc" ${recipient}))))
      </code>
     </option>
     <option value="is">
      <title>is</title>
      <code>
        (match-all (or (header-matches "To" ${recipient})
-                         (header-matches "Cc" ${recipient})))
+                   	 (header-contains "Cc" ${recipient})
+                         (header-matches "Bcc" ${recipient})))
      </code>
     </option>
     <option value="is not">
@@ -78,14 +81,16 @@
      <code>
        (match-all (not (or
                (header-matches "To" ${recipient})
-              (header-matches "Cc" ${recipient}))))
+               (header-contains "Cc" ${recipient})
+              (header-matches "Bcc" ${recipient}))))
      </code>
     </option>
     <option value="starts with">
      <title>starts with</title>
      <code>
         (match-all (or (header-starts-with "To" ${recipient})
-                         (header-starts-with "Cc" ${recipient})))
+                	(header-contains "Cc" ${recipient})
+                         (header-starts-with "Bcc" ${recipient})))
      </code>
     </option>
     <option value="not starts with">
@@ -93,14 +98,16 @@
      <code>
         (match-all (not (or
                (header-starts-with "To" ${recipient})
-              (header-starts-with "Cc" ${recipient}))))
+               (header-contains "Cc" ${recipient})
+              (header-starts-with "Bcc" ${recipient}))))
      </code>
     </option>
     <option value="ends with">
      <title>ends with</title>
      <code>
         (match-all (or (header-ends-with "To" ${recipient})
-                         (header-ends-with "Cc" ${recipient})))
+                   	 (header-contains "Cc" ${recipient})
+                         (header-ends-with "Bcc" ${recipient})))
      </code>
     </option>
     <option value="not ends with">
@@ -108,7 +115,8 @@
      <code>
         (match-all (not (or
                (header-ends-with "To" ${recipient})
-              (header-ends-with "Cc" ${recipient}))))
+               (header-contains "Cc" ${recipient})
+              (header-ends-with "Bcc" ${recipient}))))
      </code>
     </option>
    </input>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]