aboutsummaryrefslogtreecommitdiffstats
path: root/filter
diff options
context:
space:
mode:
authorNot Zed <NotZed@HelixCode.com>2000-07-31 23:40:40 +0800
committerMichael Zucci <zucchi@src.gnome.org>2000-07-31 23:40:40 +0800
commit7286f1484fe006cdabd75807cfb8cc73977993ee (patch)
tree41e093e63b4fee1885849d2b6d7f4c6d962b3858 /filter
parentdc63c5e22284b78da388f28ae0369b72903a8173 (diff)
downloadgsoc2013-evolution-7286f1484fe006cdabd75807cfb8cc73977993ee.tar.gz
gsoc2013-evolution-7286f1484fe006cdabd75807cfb8cc73977993ee.tar.zst
gsoc2013-evolution-7286f1484fe006cdabd75807cfb8cc73977993ee.zip
Oops, create a vfolder_rule when we add a new one.
2000-08-01 Not Zed <NotZed@HelixCode.com> * vfolder-editor.c (rule_add): Oops, create a vfolder_rule when we add a new one. svn path=/trunk/; revision=4425
Diffstat (limited to 'filter')
-rw-r--r--filter/ChangeLog3
-rw-r--r--filter/vfolder-editor.c2
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));