aboutsummaryrefslogtreecommitdiffstats
path: root/filter/filtertypes.xml
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@helixcode.com>2000-09-19 04:49:51 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2000-09-19 04:49:51 +0800
commit635f31e410676a42bd3f0cf3c1571dd2cf156f28 (patch)
tree4077b9a9200de9b121cec5a00f66d41f3752505b /filter/filtertypes.xml
parent69f189090877a8a60fd3a0fdbe0416f67346de26 (diff)
downloadgsoc2013-evolution-635f31e410676a42bd3f0cf3c1571dd2cf156f28.tar
gsoc2013-evolution-635f31e410676a42bd3f0cf3c1571dd2cf156f28.tar.gz
gsoc2013-evolution-635f31e410676a42bd3f0cf3c1571dd2cf156f28.tar.bz2
gsoc2013-evolution-635f31e410676a42bd3f0cf3c1571dd2cf156f28.tar.lz
gsoc2013-evolution-635f31e410676a42bd3f0cf3c1571dd2cf156f28.tar.xz
gsoc2013-evolution-635f31e410676a42bd3f0cf3c1571dd2cf156f28.tar.zst
gsoc2013-evolution-635f31e410676a42bd3f0cf3c1571dd2cf156f28.zip
Modified to use more intuitive naming
2000-09-18 Jeffrey Stedfast <fejj@helixcode.com> * filtertypes.xml: Modified to use more intuitive naming * score-rule.c (xml_decode): Make sure the score is within our range (get_widget): Changed range to -3 to +3 * filter-score.c (get_widget): Changed range to -3 to +3 (xml_decode): Make sure the score is within our range * filter-rule.c (get_widget): Rearranged widgets. * filter-filter.c (get_widget): Rearranged widgets. * filter-editor.c (filter_editor_construct): Updated to allow for double-clicking on a rule to edit it. svn path=/trunk/; revision=5492
Diffstat (limited to 'filter/filtertypes.xml')
-rw-r--r--filter/filtertypes.xml81
1 files changed, 42 insertions, 39 deletions
diff --git a/filter/filtertypes.xml b/filter/filtertypes.xml
index 73b17f75d2..43a6043124 100644
--- a/filter/filtertypes.xml
+++ b/filter/filtertypes.xml
@@ -15,6 +15,7 @@
</input>
<input type="string" name="sender"/>
</part>
+
<part name="to">
<title>Recipients</title>
<input type="optionlist" name="recipient-type">
@@ -36,6 +37,7 @@
</input>
<input type="address" name="recipient"/>
</part>
+
<part name="subject">
<title>Subject</title>
<input type="optionlist" name="subject-type">
@@ -56,7 +58,7 @@
</part>
<part name="header">
- <title>Message header</title>
+ <title>Specific header</title>
<input type="string" name="header-field"/>
<input type="optionlist" name="header-type">
<option value="contains">
@@ -93,36 +95,37 @@
</input>
<input type="string" name="word"/>
</part>
+
<part name="sexp">
<title>Expression</title>
<input type="code" name="code"/>
- </part>
+ </part>
<part name="sent-date">
- <title>Message was sent</title>
+ <title>Date sent</title>
<input type="optionlist" name="date-spec-type">
- <option value="before">
- <title>before</title>
+ <option value="is">
+ <title>is</title>
<code>
- (match-all (&lt; (get-sent-date) ${versus}))
+ (match-all (= (get-sent-date) ${versus}))
</code>
</option>
- <option value="on-or-before">
- <title>on or before</title>
+ <option value="is-not">
+ <title>is not</title>
<code>
- (match-all (not (&gt; (get-sent-date) ${versus})))
+ (match-all (not (= (get-sent-date) ${versus})))
</code>
</option>
- <option value="after">
- <title>after</title>
+ <option value="before">
+ <title>was before</title>
<code>
- (match-all (&gt; (get-sent-date) ${versus}))
+ (match-all (&lt; (get-sent-date) ${versus}))
</code>
</option>
- <option value="on-or-after">
- <title>on or after</title>
+ <option value="after">
+ <title>was after</title>
<code>
- (match-all (not (&lt; (get-sent-date) ${versus})))
+ (match-all (&gt; (get-sent-date) ${versus}))
</code>
</option>
</input>
@@ -131,30 +134,30 @@
</part>
<part name="recv-date">
- <title>Message was received</title>
+ <title>Date received</title>
<input type="optionlist" name="date-spec-type">
- <option value="before">
- <title>before</title>
+ <option value="is">
+ <title>is</title>
<code>
- (match-all (&lt; (get-received-date) ${versus}))
+ (match-all (= (get-received-date) ${versus}))
</code>
</option>
- <option value="on-or-before">
- <title>on or before</title>
+ <option value="is-not">
+ <title>is not</title>
<code>
- (match-all (not (&gt; (get-received-date) ${versus})))
+ (match-all (not (= (get-received-date) ${versus})))
</code>
</option>
- <option value="after">
- <title>after</title>
+ <option value="before">
+ <title>was before</title>
<code>
- (match-all (&gt; (get-received-date) ${versus}))
+ (match-all (&lt; (get-received-date) ${versus}))
</code>
</option>
- <option value="on-or-after">
- <title>on or after</title>
+ <option value="after">
+ <title>was after</title>
<code>
- (match-all (not (&lt; (get-received-date) ${versus})))
+ (match-all (&gt; (get-received-date) ${versus}))
</code>
</option>
</input>
@@ -163,33 +166,33 @@
</part>
<part name="score">
- <title>Message score</title>
+ <title>Priority</title>
<input type="optionlist" name="score-type">
<option value="less-than">
- <title>less than</title>
+ <title>is</title>
<code>
- (match-all (&lt; (get-score) ${versus}))
+ (match-all (= (get-score) ${versus}))
</code>
</option>
- <option value="less-than-or-equal">
- <title>less than or equal to</title>
+ <option value="is-not">
+ <title>is not</title>
<code>
- (match-all (not (&gt; (get-score) ${versus})))
+ (match-all (not (= (get-score) ${versus})))
</code>
</option>
<option value="greater-than">
- <title>greater than</title>
+ <title>is greater than</title>
<code>
(match-all (&gt; (get-score) ${versus}))
</code>
</option>
- <option value="greater-than-or-equal">
- <title>greater than or equal to</title>
+ <option value="less-than">
+ <title>is less than</title>
<code>
- (match-all (not (&lt; (get-score) ${versus})))
+ (match-all (&lt; (get-score) ${versus}))
</code>
</option>
- </input>
+ </input>
<input type="score" name="versus">
</input>
</part>