diff options
author | Peter Williams <peterw@src.gnome.org> | 2000-08-16 02:16:39 +0800 |
---|---|---|
committer | Peter Williams <peterw@src.gnome.org> | 2000-08-16 02:16:39 +0800 |
commit | 7a12fa1fe21ca189e2800a27682bc2cc44396b6a (patch) | |
tree | 6914ce670ab90b549869dfdc97bbc67df0d3378c /filter/filtertypes.xml | |
parent | 52af76d0932bfc2b1acd622a681328c01c946382 (diff) | |
download | gsoc2013-evolution-7a12fa1fe21ca189e2800a27682bc2cc44396b6a.tar gsoc2013-evolution-7a12fa1fe21ca189e2800a27682bc2cc44396b6a.tar.gz gsoc2013-evolution-7a12fa1fe21ca189e2800a27682bc2cc44396b6a.tar.bz2 gsoc2013-evolution-7a12fa1fe21ca189e2800a27682bc2cc44396b6a.tar.lz gsoc2013-evolution-7a12fa1fe21ca189e2800a27682bc2cc44396b6a.tar.xz gsoc2013-evolution-7a12fa1fe21ca189e2800a27682bc2cc44396b6a.tar.zst gsoc2013-evolution-7a12fa1fe21ca189e2800a27682bc2cc44396b6a.zip |
Allow filtering / vfoldering based on time or date
svn path=/trunk/; revision=4843
Diffstat (limited to 'filter/filtertypes.xml')
-rw-r--r-- | filter/filtertypes.xml | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/filter/filtertypes.xml b/filter/filtertypes.xml index db5ceaa3ac..0c38ce575c 100644 --- a/filter/filtertypes.xml +++ b/filter/filtertypes.xml @@ -76,7 +76,74 @@ <title>Expression</title> <input type="code" name="code"/> </part> + + <part name="sent-date"> + <title>Message was sent</title> + <input type="optionlist" name="date-spec-type"> + <option value="before"> + <title>before</title> + <code> + (match-all (< (get-sent-date) ${versus})) + </code> + </option> + <option value="on-or-before"> + <title>on or before</title> + <code> + (match-all (not (> (get-sent-date) ${versus}))) + </code> + </option> + <option value="after"> + <title>after</title> + <code> + (match-all (> (get-sent-date) ${versus})) + </code> + </option> + <option value="on-or-after"> + <title>on or after</title> + <code> + (match-all (not (< (get-sent-date) ${versus}))) + </code> + </option> + </input> + <input type="datespec" name="versus"> + </input> + </part> + + <part name="recv-date"> + <title>Message was received</title> + <input type="optionlist" name="date-spec-type"> + <option value="before"> + <title>before</title> + <code> + (match-all (< (get-received-date) ${versus})) + </code> + </option> + <option value="on-or-before"> + <title>on or before</title> + <code> + (match-all (not (> (get-received-date) ${versus}))) + </code> + </option> + <option value="after"> + <title>after</title> + <code> + (match-all (> (get-received-date) ${versus})) + </code> + </option> + <option value="on-or-after"> + <title>on or after</title> + <code> + (match-all (not (< (get-received-date) ${versus}))) + </code> + </option> + </input> + <input type="datespec" name="versus"> + </input> + </part> + </partset> + + <actionset> <part name="copy-to-folder"> <title>Copy to Folder</title> @@ -103,3 +170,8 @@ </part> </actionset> </filterdescription> + + + + + |