aboutsummaryrefslogtreecommitdiffstats
path: root/filter/rule-context.h
diff options
context:
space:
mode:
author4 <NotZed@Ximian.com>2001-10-24 12:20:14 +0800
committerMichael Zucci <zucchi@src.gnome.org>2001-10-24 12:20:14 +0800
commitedc1f870d48094fdd52040d8391b1cdb6fa0f4a4 (patch)
treebd1e56599aed50bcab87533f548c6e7fa9298301 /filter/rule-context.h
parent2c72dd78a271397af45e0e0ea66e5e78ea7364c6 (diff)
downloadgsoc2013-evolution-edc1f870d48094fdd52040d8391b1cdb6fa0f4a4.tar
gsoc2013-evolution-edc1f870d48094fdd52040d8391b1cdb6fa0f4a4.tar.gz
gsoc2013-evolution-edc1f870d48094fdd52040d8391b1cdb6fa0f4a4.tar.bz2
gsoc2013-evolution-edc1f870d48094fdd52040d8391b1cdb6fa0f4a4.tar.lz
gsoc2013-evolution-edc1f870d48094fdd52040d8391b1cdb6fa0f4a4.tar.xz
gsoc2013-evolution-edc1f870d48094fdd52040d8391b1cdb6fa0f4a4.tar.zst
gsoc2013-evolution-edc1f870d48094fdd52040d8391b1cdb6fa0f4a4.zip
Add a changed signal. Emits if the order changes or if you add or remove a
2001-10-24 <NotZed@Ximian.com> * rule-context.c (rule_context_class_init): Add a changed signal. Emits if the order changes or if you add or remove a rule. (rule_context_rank_rule): Fix rank rule to properly rank based on source, not merely on list position. (rule_context_add_rule): Also emit changed signal. (rule_context_remove_rule): Same. (rule_context_rank_rule): Emit changed signal. svn path=/trunk/; revision=13978
Diffstat (limited to 'filter/rule-context.h')
-rw-r--r--filter/rule-context.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/filter/rule-context.h b/filter/rule-context.h
index 6f6a72f270..3f99838ea2 100644
--- a/filter/rule-context.h
+++ b/filter/rule-context.h
@@ -64,6 +64,7 @@ struct _RuleContextClass {
/* signals */
void (*rule_added)(RuleContext *f, FilterRule *rule);
void (*rule_removed)(RuleContext *f, FilterRule *rule);
+ void (*changed)(RuleContext *f);
};
typedef void (*RCPartFunc)(RuleContext *f, FilterPart *part);