diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2003-04-30 04:23:56 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2003-04-30 04:23:56 +0800 |
commit | 996827b8fc5d460f6859ebb2b3617c72ce0e1c87 (patch) | |
tree | 9786ceb9e4a9ba0e8346afc859cc4bf70c1ff366 /mail | |
parent | 9de8294968eee970d5ff96459021b39e0a7e126f (diff) | |
download | gsoc2013-evolution-996827b8fc5d460f6859ebb2b3617c72ce0e1c87.tar.gz gsoc2013-evolution-996827b8fc5d460f6859ebb2b3617c72ce0e1c87.tar.zst gsoc2013-evolution-996827b8fc5d460f6859ebb2b3617c72ce0e1c87.zip |
Updated for API change in the filter code.
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.
svn path=/trunk/; revision=21020
Diffstat (limited to 'mail')
-rw-r--r-- | mail/ChangeLog | 6 | ||||
-rw-r--r-- | mail/importers/netscape-importer.c | 8 |
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); } |