diff options
author | Jon Trowbridge <trow@gnu.org> | 2001-04-14 06:08:03 +0800 |
---|---|---|
committer | Jon Trowbridge <trow@src.gnome.org> | 2001-04-14 06:08:03 +0800 |
commit | 0eb8afc1d0cfa27d020a4191f44e400c714d190c (patch) | |
tree | b3629148572fa1f1ee1982e8359faed15245d74b /filter/filtertypes.xml | |
parent | 546128c8d99b1edd859ba5d8b57549550b910a1d (diff) | |
download | gsoc2013-evolution-0eb8afc1d0cfa27d020a4191f44e400c714d190c.tar gsoc2013-evolution-0eb8afc1d0cfa27d020a4191f44e400c714d190c.tar.gz gsoc2013-evolution-0eb8afc1d0cfa27d020a4191f44e400c714d190c.tar.bz2 gsoc2013-evolution-0eb8afc1d0cfa27d020a4191f44e400c714d190c.tar.lz gsoc2013-evolution-0eb8afc1d0cfa27d020a4191f44e400c714d190c.tar.xz gsoc2013-evolution-0eb8afc1d0cfa27d020a4191f44e400c714d190c.tar.zst gsoc2013-evolution-0eb8afc1d0cfa27d020a4191f44e400c714d190c.zip |
Make the (previously unused) get-source command actually do the right
2001-04-13 Jon Trowbridge <trow@gnu.org>
* camel-filter-search.c (get_source): Make the (previously unused)
get-source command actually do the right thing, properly shrouding
any passed-in source and falling back to use the source attached
to the mime message.
2001-04-13 Jon Trowbridge <trow@gnu.org>
* filtertypes.xml: Add XML specs for source account filtering.
* filter-element.c (filter_element_new_type_name): Recognize
type "source", construct a FilterSource.
* filter-source.c: Added. A FilterElement for the account e-mail
comes from.
svn path=/trunk/; revision=9304
Diffstat (limited to 'filter/filtertypes.xml')
-rw-r--r-- | filter/filtertypes.xml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/filter/filtertypes.xml b/filter/filtertypes.xml index 7b168afe8c..aa2b9bbbfa 100644 --- a/filter/filtertypes.xml +++ b/filter/filtertypes.xml @@ -533,6 +533,25 @@ <input type="regex" name="expression"/> </part> + <part name="source"> + <title>Source Account</title> + <input type="optionlist" name="srcmatch-type"> + <option value="is"> + <title>Is</title> + <code> + (match-all (= (get-source) ${uri})) + </code> + </option> + <option value="is-not"> + <title>Is Not</title> + <code> + (match-all (not (= (get-source) ${uri}))) + </code> + </option> + </input> + <input type="source" name="uri"/> + </part> + </partset> |