aboutsummaryrefslogtreecommitdiffstats
path: root/filter/filter-rule.h
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2003-09-16 06:43:15 +0800
committerMichael Zucci <zucchi@src.gnome.org>2003-09-16 06:43:15 +0800
commit99274a95701e007c22cbfc3f7d42a123b0464ea4 (patch)
tree8d6eed9b859b9fe5b4e034fb76735227a8887c3f /filter/filter-rule.h
parent20cff5d6ba88f6ccf22e3d4fe757fcf1310ea73b (diff)
downloadgsoc2013-evolution-99274a95701e007c22cbfc3f7d42a123b0464ea4.tar.gz
gsoc2013-evolution-99274a95701e007c22cbfc3f7d42a123b0464ea4.tar.zst
gsoc2013-evolution-99274a95701e007c22cbfc3f7d42a123b0464ea4.zip
** See Natzilla task #47524
2003-09-15 Not Zed <NotZed@Ximian.com> ** See Natzilla task #47524 * filter-rule.h (FilterRule): add a system bit, for rules that shouldn't be edited/saved. * rule-context.c (load): check for ruleset maps in the system file, and if they exist, load in as system rules. (save): ignore system rules if they exist. * searchtypes.xml: Added a search-specific types folder. Also contains system searches that cannot be deleted. svn path=/trunk/; revision=22581
Diffstat (limited to 'filter/filter-rule.h')
-rw-r--r--filter/filter-rule.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/filter/filter-rule.h b/filter/filter-rule.h
index b75213d274..6f92fc01c4 100644
--- a/filter/filter-rule.h
+++ b/filter/filter-rule.h
@@ -59,6 +59,7 @@ struct _FilterRule {
char *source;
enum _filter_grouping_t grouping;
+ unsigned int system:1; /* this is a system rule, cannot be edited/deleted */
GList *parts;
};