aboutsummaryrefslogtreecommitdiffstats
path: root/filter/filtertypes.xml
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-07-09 04:30:39 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-07-09 04:30:39 +0800
commitb749cf077233687b34a5ae0aed1ee33d23b76471 (patch)
tree10a22b8ca8086da27c989c9a94776ce04003ac55 /filter/filtertypes.xml
parent85fd85a496325ed0643bb3c70d79d132069808d4 (diff)
downloadgsoc2013-evolution-b749cf077233687b34a5ae0aed1ee33d23b76471.tar
gsoc2013-evolution-b749cf077233687b34a5ae0aed1ee33d23b76471.tar.gz
gsoc2013-evolution-b749cf077233687b34a5ae0aed1ee33d23b76471.tar.bz2
gsoc2013-evolution-b749cf077233687b34a5ae0aed1ee33d23b76471.tar.lz
gsoc2013-evolution-b749cf077233687b34a5ae0aed1ee33d23b76471.tar.xz
gsoc2013-evolution-b749cf077233687b34a5ae0aed1ee33d23b76471.tar.zst
gsoc2013-evolution-b749cf077233687b34a5ae0aed1ee33d23b76471.zip
Make the sound type for (play-sound ) a "file" type rather than "string"
2002-07-08 Jeffrey Stedfast <fejj@ximian.com> * filtertypes.xml: Make the sound type for (play-sound ) a "file" type rather than "string" since users will want to use a filesel to select it most likely. Fixes bug #26921. * filter-file.c (validate): If the type is "file" check that it is a valid file, otheriwse if it is a command-line just ignore it for now. * filter-element.c (filter_element_new_type_name): A filter type of "file" should also use the filter-file object. svn path=/trunk/; revision=17385
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 65fdb292e0..75cbfa7efb 100644
--- a/filter/filtertypes.xml
+++ b/filter/filtertypes.xml
@@ -680,12 +680,12 @@
<part name="play-sound">
<title>Play Sound</title>
<code>(play-sound ${sound})</code>
- <input type="string" name="sound"/>
+ <input type="file" name="sound"/>
</part>
<part name="shell-exec">
<title>Execute Shell Command</title>
<code>(shell-exec ${command})</code>
- <input type="string" name="command"/>
+ <input type="command" name="command"/>
</part>
</actionset>
</filterdescription>