diff options
author | Not Zed <NotZed@Ximian.com> | 2003-08-06 05:12:14 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2003-08-06 05:12:14 +0800 |
commit | 9c6056e60136cd86eaf58e364eae33bac3f7c6db (patch) | |
tree | b541b3669a69d71f676cfc117dbcac2059e4134c /filter/filter-code.c | |
parent | 8c301288f1ecaa5161fc1b458154b3404e239441 (diff) | |
download | gsoc2013-evolution-9c6056e60136cd86eaf58e364eae33bac3f7c6db.tar.gz gsoc2013-evolution-9c6056e60136cd86eaf58e364eae33bac3f7c6db.tar.zst gsoc2013-evolution-9c6056e60136cd86eaf58e364eae33bac3f7c6db.zip |
** See bug #42636.
2003-08-05 Not Zed <NotZed@Ximian.com>
** See bug #42636.
* vfoldertypes.xml: Fix some of the subject rules, they were
missing matching ')'s.
2003-08-01 Not Zed <NotZed@Ximian.com>
** See bug #47208.
* filter-code.c (build_code): wrap the expression in a match-all
so boolean expressions work properly for folder searches.
svn path=/trunk/; revision=22090
Diffstat (limited to 'filter/filter-code.c')
-rw-r--r-- | filter/filter-code.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/filter/filter-code.c b/filter/filter-code.c index 11739a318d..7b308506cc 100644 --- a/filter/filter-code.c +++ b/filter/filter-code.c @@ -109,12 +109,14 @@ build_code (FilterElement *fe, GString *out, struct _FilterPart *ff) { GList *l; FilterInput *fi = (FilterInput *)fe; - + + g_string_append(out, "(match-all "); l = fi->values; while (l) { g_string_append(out, (char *)l->data); l = g_list_next(l); } + g_string_append(out, ")"); } /* and we have no value */ |