diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2002-09-14 04:20:40 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2002-09-14 04:20:40 +0800 |
commit | f34f1b7ca509aa7eb6bdd67b9ec0fc37125917b1 (patch) | |
tree | 327712e3a11cc7ff3cf7b78a3a7b8a3ddf8121d0 /filter | |
parent | 0d8295135ddb37d16c359beabf4cb2ee4e3792b2 (diff) | |
download | gsoc2013-evolution-f34f1b7ca509aa7eb6bdd67b9ec0fc37125917b1.tar.gz gsoc2013-evolution-f34f1b7ca509aa7eb6bdd67b9ec0fc37125917b1.tar.zst gsoc2013-evolution-f34f1b7ca509aa7eb6bdd67b9ec0fc37125917b1.zip |
Add a Run Once action to run a command only once rather than for each
2002-09-13 Jeffrey Stedfast <fejj@ximian.com>
* filtertypes.xml: Add a Run Once action to run a command only
once rather than for each message that has that action applied.
svn path=/trunk/; revision=18068
Diffstat (limited to 'filter')
-rw-r--r-- | filter/ChangeLog | 5 | ||||
-rw-r--r-- | filter/filtertypes.xml | 5 | ||||
-rw-r--r-- | filter/libfilter-i18n.h | 1 |
3 files changed, 11 insertions, 0 deletions
diff --git a/filter/ChangeLog b/filter/ChangeLog index fa6ddced4d..868fee9fe9 100644 --- a/filter/ChangeLog +++ b/filter/ChangeLog @@ -1,3 +1,8 @@ +2002-09-13 Jeffrey Stedfast <fejj@ximian.com> + + * filtertypes.xml: Add a Run Once action to run a command only + once rather than for each message that has that action applied. + 2002-08-08 Not Zed <NotZed@Ximian.com> * rule-editor.c (add_editor_clicked): Dont allow duplicate names. diff --git a/filter/filtertypes.xml b/filter/filtertypes.xml index 53e3345327..2a192d1c61 100644 --- a/filter/filtertypes.xml +++ b/filter/filtertypes.xml @@ -710,5 +710,10 @@ <code>(shell "/bin/sh" "-c" ${command})</code> <input type="command" name="command"/> </part> + <part name="run-once"> + <title>Run Once</title> + <code>(only-once (shell "/bin/sh" "-c" ${command}))</code> + <input type="command" name="command"/> + </part> </actionset> </filterdescription> diff --git a/filter/libfilter-i18n.h b/filter/libfilter-i18n.h index d965e03184..db73904ce0 100644 --- a/filter/libfilter-i18n.h +++ b/filter/libfilter-i18n.h @@ -46,6 +46,7 @@ char *s = N_("Replied to"); char *s = N_("returns"); char *s = N_("returns greater than"); char *s = N_("returns less than"); +char *s = N_("Run Once"); char *s = N_("Score"); char *s = N_("Sender"); char *s = N_("Set Status"); |