aboutsummaryrefslogtreecommitdiffstats
path: root/filter/filtertypes.xml
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@helixcode.com>2000-10-31 11:43:26 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2000-10-31 11:43:26 +0800
commit0eb24eaa396b7f5f3ebe6fab21080cda7ba7d4bc (patch)
treed3a41d97055a1a92aa804201dacef5385c062c48 /filter/filtertypes.xml
parent7c3fad23b7c212cc96606a44e81d43e65b85acf8 (diff)
downloadgsoc2013-evolution-0eb24eaa396b7f5f3ebe6fab21080cda7ba7d4bc.tar
gsoc2013-evolution-0eb24eaa396b7f5f3ebe6fab21080cda7ba7d4bc.tar.gz
gsoc2013-evolution-0eb24eaa396b7f5f3ebe6fab21080cda7ba7d4bc.tar.bz2
gsoc2013-evolution-0eb24eaa396b7f5f3ebe6fab21080cda7ba7d4bc.tar.lz
gsoc2013-evolution-0eb24eaa396b7f5f3ebe6fab21080cda7ba7d4bc.tar.xz
gsoc2013-evolution-0eb24eaa396b7f5f3ebe6fab21080cda7ba7d4bc.tar.zst
gsoc2013-evolution-0eb24eaa396b7f5f3ebe6fab21080cda7ba7d4bc.zip
If a regex option is selected, change the FilterElement data to TRUE else
2000-10-30 Jeffrey Stedfast <fejj@helixcode.com> * filter-option.c (option_activate): If a regex option is selected, change the FilterElement data to TRUE else set to FALSE. * filter-rule.c (more_parts): Validate the previously entered FilterPart before allowing the user to add a new FilterPart. * filter-part.c (filter_part_validate): New convenience function to validate an entire FilterPart expression. * filter-input.c (validate): Validate the entry text if it contains a regular expression. * filter-element.[c,h]: New virtual function to validate the contents of the FilterElement (useful for regex and sexp). (filter_element_validate): You get the idea... svn path=/trunk/; revision=6285
Diffstat (limited to 'filter/filtertypes.xml')
-rw-r--r--filter/filtertypes.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/filter/filtertypes.xml b/filter/filtertypes.xml
index 925593e402..07846d731c 100644
--- a/filter/filtertypes.xml
+++ b/filter/filtertypes.xml
@@ -52,13 +52,13 @@
(match-all (not (header-ends-with "From" ${sender})))
</code>
</option>
- <option value="matches regex" type="regex">
+ <option value="matches regex">
<title>matches regex</title>
<code>
(match-all (header-regex "From" ${sender}))
</code>
</option>
- <option value="not match regex" type="regex">
+ <option value="not match regex">
<title>does not match regex</title>
<code>
(match-all (not (header-regex "From" ${sender})))