aboutsummaryrefslogtreecommitdiffstats
path: root/filter/e-filter-option.c
diff options
context:
space:
mode:
Diffstat (limited to 'filter/e-filter-option.c')
-rw-r--r--filter/e-filter-option.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/filter/e-filter-option.c b/filter/e-filter-option.c
index 25a979794b..0cea021666 100644
--- a/filter/e-filter-option.c
+++ b/filter/e-filter-option.c
@@ -206,13 +206,20 @@ filter_option_xml_create (EFilterElement *element,
option->dynamic_func = g_strdup ((const gchar *) fn);
- /* get options now, to have them available when reading saved rules */
+ /* Get options now, to have them
+ * available when reading saved
+ * rules. */
items = filter_option_get_dynamic_options (option);
for (i = items; i; i = i->next) {
op = i->data;
if (op) {
- e_filter_option_add (option, op->value, op->title, op->code, TRUE);
+ e_filter_option_add (
+ option,
+ op->value,
+ op->title,
+ op->code,
+ TRUE);
free_option (op);
}
}