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
This commit is contained in:
Jeffrey Stedfast
2002-09-13 20:20:40 +00:00
committed by Jeffrey Stedfast
parent 0d8295135d
commit f34f1b7ca5
3 changed files with 11 additions and 0 deletions

View File

@ -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.

View File

@ -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>

View File

@ -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");