Bug 793125 - Crash due to popup menus left attached too long
[evolution.git] / src / calendar / gui / memotypes.xml.in
blob268d9a0d939e540d6ebb84310be61f575864204b
1 <?xml version="1.0"?>
2 <filterdescription>
3 <partset>
4 <part name="summary">
5 <_title>Summary</_title>
6 <input type="optionlist" name="summary-type">
7 <option value="contains">
8 <_title>contains</_title>
9 <code>(contains? "summary" ${summary})</code>
10 </option>
11 <option value="not contains">
12 <_title>does not contain</_title>
13 <code>(not (contains? "summary" ${summary}))</code>
14 </option>
15 </input>
16 <input type="string" name="summary"/>
17 </part>
19 <part name="description">
20 <_title>Description</_title>
21 <input type="optionlist" name="description-type">
22 <option value="contains">
23 <_title>contains</_title>
24 <code>(contains? "description" ${description})</code>
25 </option>
26 <option value="not contains">
27 <_title>does not contain</_title>
28 <code>(not (contains? "description" ${description}))</code>
29 </option>
30 </input>
31 <input type="string" name="description"/>
32 </part>
34 <part name="anyfield">
35 <_title>Any Field</_title>
36 <input type="optionlist" name="anyfield-type">
37 <option value="contains">
38 <_title>contains</_title>
39 <code>(contains? "any" ${anyfield})</code>
40 </option>
41 <option value="not contains">
42 <_title>does not contain</_title>
43 <code>(not (contains? "any" ${anyfield}))</code>
44 </option>
45 </input>
46 <input type="string" name="anyfield"/>
47 </part>
49 <part name="name2">
50 <_title>Organizer</_title>
51 <input type="optionlist" name="name-type">
52 <option value="contains">
53 <_title>contains</_title>
54 <code>(contains? "organizer" ${name})</code>
55 </option>
56 <option value="not contains">
57 <_title>does not contain</_title>
58 <code>(not (contains? "organizer" ${name}))</code>
59 </option>
60 </input>
61 <input type="string" name="name"/>
62 </part>
64 <part name="name2">
65 <_title>Classification</_title>
66 <input type="optionlist" name="name-type">
67 <option value="is">
68 <_title>is</_title>
69 <code>(contains? "classification" ${classification})</code>
70 </option>
71 <option value="is not">
72 <_title>is not</_title>
73 <code>(not(contains? "classification" ${classification}))</code>
74 </option>
75 </input>
76 <input type="optionlist" name="classification">
77 <option value="Public">
78 <_title>Public</_title>
79 </option>
80 <option value="Private">
81 <_title>Private</_title>
82 </option>
83 <option value="Confidential">
84 <_title>Confidential</_title>
85 </option>
86 </input>
87 </part>
89 <part name="category">
90 <_title>Category</_title>
91 <input type="optionlist" name="category-type">
92 <option value="is">
93 <_title>is</_title>
94 <code>(has-categories? ${category})</code>
95 </option>
96 <option value="is not">
97 <_title>is not</_title>
98 <code>(not(has-categories? ${category}))</code>
99 </option>
100 </input>
101 <input type="optionlist" name="category">
102 <dynamic func="e_util_get_category_filter_options"/>
103 </input>
104 </part>
106 <part name="attachments">
107 <_title>Attachments</_title>
108 <input type="optionlist" name="match-type">
109 <option value="exist">
110 <_title>Exist</_title>
111 <code>
112 (has-attachments?)
113 </code>
114 </option>
115 <option value="not exist">
116 <_title>Do Not Exist</_title>
117 <code>
118 (not(has-attachments?))
119 </code>
120 </option>
121 </input>
122 </part>
124 </partset>
126 <ruleset>
128 <rule grouping="any" source="demand">
129 <_title>Summary Contains</_title>
130 <partset>
131 <part name="summary">
132 <value name="summary-type" type="option" value="contains"/>
133 <value name="summary" type="string"/>
134 </part>
135 </partset>
136 <sources/>
137 </rule>
139 <rule grouping="any" source="demand">
140 <_title>Description Contains</_title>
141 <partset>
142 <part name="description">
143 <value name="description-type" type="option" value="contains"/>
144 <value name="description" type="string"/>
145 </part>
146 </partset>
147 <sources/>
148 </rule>
150 <rule grouping="any" source="demand">
151 <_title>Any field contains</_title>
152 <partset>
153 <part name="anyfield">
154 <value name="anyfield-type" type="option" value="contains"/>
155 <value name="anyfield" type="string"/>
156 </part>
157 </partset>
158 <sources/>
159 </rule>
161 </ruleset>
163 </filterdescription>