[evolution/wip/webkit2] Bug 687427 - Add 'greater/less than or equal' to Size filter condition



commit 49760467c3b8820adc907a69bbfab719d118100c
Author: Milan Crha <mcrha redhat com>
Date:   Mon Oct 19 18:17:06 2015 +0200

    Bug 687427 - Add 'greater/less than or equal' to Size filter condition

 mail/filtertypes.xml.in  |   12 ++++++++++++
 mail/searchtypes.xml.in  |   12 ++++++++++++
 mail/vfoldertypes.xml.in |   12 ++++++++++++
 3 files changed, 36 insertions(+), 0 deletions(-)
---
diff --git a/mail/filtertypes.xml.in b/mail/filtertypes.xml.in
index 3f703e6..8cfec88 100644
--- a/mail/filtertypes.xml.in
+++ b/mail/filtertypes.xml.in
@@ -697,6 +697,18 @@
        (match-all (&gt; (get-size) ${versus}))
     </code>
    </option>
+   <option value="greater-than-or-equal">
+    <_title>is greater than or equal to</_title>
+    <code>
+       (match-all (or (&gt; (get-size) ${versus}) (= (get-size) ${versus})))
+    </code>
+   </option>
+   <option value="less-than-or-equal">
+    <_title>is less than or equal to</_title>
+    <code>
+       (match-all (or (&lt; (get-size) ${versus}) (= (get-size) ${versus})))
+    </code>
+   </option>
    <option value="less-than">
     <_title>is less than</_title>
     <code>
diff --git a/mail/searchtypes.xml.in b/mail/searchtypes.xml.in
index 64fa7ce..14dca80 100644
--- a/mail/searchtypes.xml.in
+++ b/mail/searchtypes.xml.in
@@ -782,6 +782,18 @@
        (match-all (&gt; (get-size) ${versus}))
     </code>
    </option>
+   <option value="greater-than-or-equal">
+    <_title>is greater than or equal to</_title>
+    <code>
+       (match-all (or (&gt; (get-size) ${versus}) (= (get-size) ${versus})))
+    </code>
+   </option>
+   <option value="less-than-or-equal">
+    <_title>is less than or equal to</_title>
+    <code>
+       (match-all (or (&lt; (get-size) ${versus}) (= (get-size) ${versus})))
+    </code>
+   </option>
    <option value="less-than">
     <_title>is less than</_title>
     <code>
diff --git a/mail/vfoldertypes.xml.in b/mail/vfoldertypes.xml.in
index 617c881..3b8b275 100644
--- a/mail/vfoldertypes.xml.in
+++ b/mail/vfoldertypes.xml.in
@@ -778,6 +778,18 @@
        (match-all (&gt; (get-size) ${versus}))
     </code>
    </option>
+   <option value="greater-than-or-equal">
+    <_title>is greater than or equal to</_title>
+    <code>
+       (match-all (or (&gt; (get-size) ${versus}) (= (get-size) ${versus})))
+    </code>
+   </option>
+   <option value="less-than-or-equal">
+    <_title>is less than or equal to</_title>
+    <code>
+       (match-all (or (&lt; (get-size) ${versus}) (= (get-size) ${versus})))
+    </code>
+   </option>
    <option value="less-than">
     <_title>is less than</_title>
     <code>


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