diff options
author | Not Zed <NotZed@Ximian.com> | 2003-09-16 06:43:15 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2003-09-16 06:43:15 +0800 |
commit | 99274a95701e007c22cbfc3f7d42a123b0464ea4 (patch) | |
tree | 8d6eed9b859b9fe5b4e034fb76735227a8887c3f /filter/filter-rule.h | |
parent | 20cff5d6ba88f6ccf22e3d4fe757fcf1310ea73b (diff) | |
download | gsoc2013-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.h | 1 |
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; }; |