aboutsummaryrefslogtreecommitdiffstats
path: root/mail/filtertypes.xml
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2008-12-10 19:05:01 +0800
committerMilan Crha <mcrha@src.gnome.org>2008-12-10 19:05:01 +0800
commit65145381a69be1ac144c6e6dc7c2ab3fdb05d3b7 (patch)
tree6464b3307de194cd3326f3402a597cf09ccb4646 /mail/filtertypes.xml
parent8977778ec47a4c415884fe210e258716aa011879 (diff)
downloadgsoc2013-evolution-65145381a69be1ac144c6e6dc7c2ab3fdb05d3b7.tar
gsoc2013-evolution-65145381a69be1ac144c6e6dc7c2ab3fdb05d3b7.tar.gz
gsoc2013-evolution-65145381a69be1ac144c6e6dc7c2ab3fdb05d3b7.tar.bz2
gsoc2013-evolution-65145381a69be1ac144c6e6dc7c2ab3fdb05d3b7.tar.lz
gsoc2013-evolution-65145381a69be1ac144c6e6dc7c2ab3fdb05d3b7.tar.xz
gsoc2013-evolution-65145381a69be1ac144c6e6dc7c2ab3fdb05d3b7.tar.zst
gsoc2013-evolution-65145381a69be1ac144c6e6dc7c2ab3fdb05d3b7.zip
** Fix for bug #563870
2008-12-10 Milan Crha <mcrha@redhat.com> ** Fix for bug #563870 * e-util/e-util-labels.h: (e_util_labels_get_filter_options): * e-util/e-util-labels.c: (e_util_labels_get_filter_options): New helper function to be used in FilterOption. * filter/Makefile.am: * filter/filter-label.h: * filter/filter-label.c: Drop, not used anywhere. * filter/filter-element.c: * filter/rule-context.c: Remove dropped include and code. * filter/filter-option.c: (get_dynamic_options), (xml_create), (get_widget): Evaluate dynamic options even on create, to have them available for saved searches even before the widget itself is shown. * mail/vfoldertypes.xml: * mail/filtertypes.xml: * mail/searchtypes.xml: Use dynamic filter option. * mail/message-list.c: Drop unused header include. svn path=/trunk/; revision=36863
Diffstat (limited to 'mail/filtertypes.xml')
-rw-r--r--mail/filtertypes.xml8
1 files changed, 6 insertions, 2 deletions
diff --git a/mail/filtertypes.xml b/mail/filtertypes.xml
index 60702f2b08..69c1ddbaae 100644
--- a/mail/filtertypes.xml
+++ b/mail/filtertypes.xml
@@ -635,7 +635,9 @@
</code>
</option>
</input>
- <input type="label" name="versus"/>
+ <input type="optionlist" name="versus">
+ <dynamic func="e_util_labels_get_filter_options"/>
+ </input>
</part>
<part name="score">
@@ -920,7 +922,9 @@
<part name="label">
<title>Set Label</title>
<code>(set-label ${label})</code>
- <input type="label" name="label"/>
+ <input type="optionlist" name="label">
+ <dynamic func="e_util_labels_get_filter_options"/>
+ </input>
</part>
<part name="colour">
<title>Assign Color</title>