aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-07-06 02:01:00 +0800
committerDan Winship <danw@src.gnome.org>2000-07-06 02:01:00 +0800
commit6cfd18ee1c0ac3ba06fdf1341e97bc8a6acd05ad (patch)
tree85ebf6550292d3562db6fd49ddf22c2706586b3a
parenta3c2c90d0a7ad7dee4e78830aae7b4419ea71438 (diff)
downloadgsoc2013-evolution-6cfd18ee1c0ac3ba06fdf1341e97bc8a6acd05ad.tar
gsoc2013-evolution-6cfd18ee1c0ac3ba06fdf1341e97bc8a6acd05ad.tar.gz
gsoc2013-evolution-6cfd18ee1c0ac3ba06fdf1341e97bc8a6acd05ad.tar.bz2
gsoc2013-evolution-6cfd18ee1c0ac3ba06fdf1341e97bc8a6acd05ad.tar.lz
gsoc2013-evolution-6cfd18ee1c0ac3ba06fdf1341e97bc8a6acd05ad.tar.xz
gsoc2013-evolution-6cfd18ee1c0ac3ba06fdf1341e97bc8a6acd05ad.tar.zst
gsoc2013-evolution-6cfd18ee1c0ac3ba06fdf1341e97bc8a6acd05ad.zip
Fix typos and update the "to-address" rule to match To or Cc. Fix typos.
* filtertypes.xml: Fix typos and update the "to-address" rule to match To or Cc. * vfoldertypes.xml: Fix typos. svn path=/trunk/; revision=3889
-rw-r--r--filter/ChangeLog4
-rw-r--r--filter/filtertypes.xml7
-rw-r--r--filter/vfoldertypes.xml10
3 files changed, 13 insertions, 8 deletions
diff --git a/filter/ChangeLog b/filter/ChangeLog
index 71b5807649..0b22d8753d 100644
--- a/filter/ChangeLog
+++ b/filter/ChangeLog
@@ -1,5 +1,9 @@
2000-07-05 Dan Winship <danw@helixcode.com>
+ * filtertypes.xml: Fix typos and update the "to-address" rule to
+ match To or Cc.
+ * vfoldertypes.xml: Fix typos.
+
* filter-driver.c (do_delete, do_copy, do_stop,
filter_driver_run): Add uids to the "processed" list only after
succesfully doing something with them. Fixes the problem where
diff --git a/filter/filtertypes.xml b/filter/filtertypes.xml
index 034164bb0f..dcba45dc00 100644
--- a/filter/filtertypes.xml
+++ b/filter/filtertypes.xml
@@ -10,9 +10,10 @@
<rule name="to-address">
<code>
- (match-all (header-contains "To" ${receipient}))
+ (match-all (or (header-contains "To" ${recipient})
+ (header-contains "Cc" ${recipient})))
</code>
- <description lang="en">The To address matches <source type="address" name="receipient">receipients</source>.</description>
+ <description lang="en">The To or Cc address matches <source type="address" name="recipient">recipients</source>.</description>
</rule>
<rule name="subject-contains">
@@ -77,7 +78,7 @@
<code>
(match-all (not (header-contains "To" ${self-email})))
</code>
- <description language="en">When I am the receipient.</description>
+ <description language="en">When I am the recipient.</description>
</rule>
<rule name="not-body-contains">
diff --git a/filter/vfoldertypes.xml b/filter/vfoldertypes.xml
index e00118985f..13e2ebd96a 100644
--- a/filter/vfoldertypes.xml
+++ b/filter/vfoldertypes.xml
@@ -10,15 +10,15 @@
<rule name="to-address">
<code>
- (match-all (header-contains "To" ${receipient}))
+ (match-all (header-contains "To" ${recipient}))
</code>
- <description lang="en">The To address matches <source type="address" name="receipient">receipients</source>.</description>
+ <description lang="en">The To address matches <source type="address" name="recipient">recipients</source>.</description>
</rule>
<rule name="cc-address-other">
<code>
- (match-all (header-contains "CC" ${receipient}))
+ (match-all (header-contains "CC" ${recipient}))
</code>
- <description lang="en">The Cc address matches <source type="address" name="receipient">receipients</source>.</description>
+ <description lang="en">The Cc address matches <source type="address" name="recipient">recipients</source>.</description>
</rule>
<rule name="subject-contains">
@@ -48,7 +48,7 @@
<code>
(match-all (not (header-contains "To" ${self-email})))
</code>
- <description language="en">I am the receipient.</description>
+ <description language="en">I am the recipient.</description>
</rule>
<rule name="not-body-contains">
<code>