aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog6
-rw-r--r--mail/importers/netscape-importer.c8
2 files changed, 10 insertions, 4 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 45b5280e8b..d293cc9351 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,9 @@
+2003-04-29 Jeffrey Stedfast <fejj@ximian.com>
+
+ * importers/netscape-importer.c
+ (netscape_add_priority_workaround_filters): Updated for API change
+ in the filter code.
+
2003-04-29 Not Zed <NotZed@Ximian.com>
** See bug #41972
diff --git a/mail/importers/netscape-importer.c b/mail/importers/netscape-importer.c
index 071620c144..650e2432a3 100644
--- a/mail/importers/netscape-importer.c
+++ b/mail/importers/netscape-importer.c
@@ -776,19 +776,19 @@ netscape_add_priority_workaround_filters (FilterContext *fc)
fr = netscape_create_priority_converter (fc, LOWEST);
rule_context_add_rule (RULE_CONTEXT(fc), FILTER_RULE(fr));
- rule_context_rank_rule (RULE_CONTEXT(fc), FILTER_RULE(fr), 0);
+ rule_context_rank_rule (RULE_CONTEXT(fc), FILTER_RULE(fr), FILTER_SOURCE_INCOMING, 0);
fr = netscape_create_priority_converter (fc, LOW);
rule_context_add_rule (RULE_CONTEXT(fc), FILTER_RULE(fr));
- rule_context_rank_rule (RULE_CONTEXT(fc), FILTER_RULE(fr), 1);
+ rule_context_rank_rule (RULE_CONTEXT(fc), FILTER_RULE(fr), FILTER_SOURCE_INCOMING, 1);
fr = netscape_create_priority_converter (fc, HIGH);
rule_context_add_rule (RULE_CONTEXT(fc), FILTER_RULE(fr));
- rule_context_rank_rule (RULE_CONTEXT(fc), FILTER_RULE(fr), 2);
+ rule_context_rank_rule (RULE_CONTEXT(fc), FILTER_RULE(fr), FILTER_SOURCE_INCOMING, 2);
fr = netscape_create_priority_converter (fc, HIGHEST);
rule_context_add_rule (RULE_CONTEXT(fc), FILTER_RULE(fr));
- rule_context_rank_rule (RULE_CONTEXT(fc), FILTER_RULE(fr), 3);
+ rule_context_rank_rule (RULE_CONTEXT(fc), FILTER_RULE(fr), FILTER_SOURCE_INCOMING, 3);
}