diff options
-rw-r--r-- | filter/ChangeLog | 3 | ||||
-rw-r--r-- | filter/vfolder-editor.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/filter/ChangeLog b/filter/ChangeLog index 13b2ef15fa..16df1bbefb 100644 --- a/filter/ChangeLog +++ b/filter/ChangeLog @@ -1,5 +1,8 @@ 2000-08-01 Not Zed <NotZed@HelixCode.com> + * vfolder-editor.c (rule_add): Oops, create a vfolder_rule when we + add a new one. + * rule-context.c (load): If there are no user rules, dont bomb out. diff --git a/filter/vfolder-editor.c b/filter/vfolder-editor.c index 90da3c5221..3e4c4f0bcc 100644 --- a/filter/vfolder-editor.c +++ b/filter/vfolder-editor.c @@ -142,7 +142,7 @@ static void rule_add(GtkWidget *widget, struct _editor_data *data) d(printf("add rule\n")); /* create a new rule with 1 match and 1 action */ - rule = filter_rule_new(); + rule = vfolder_rule_new(); part = rule_context_next_part(data->f, NULL); filter_rule_add_part(rule, filter_part_clone(part)); |