aboutsummaryrefslogtreecommitdiffstats
path: root/filter/filter-filter.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2002-02-26 10:27:22 +0800
committerMichael Zucci <zucchi@src.gnome.org>2002-02-26 10:27:22 +0800
commit1b00ce5ca9b8a7c3a0cf0d96579aa04aad5e0820 (patch)
tree774eb5e2210876050674433cdaa18aad875060d4 /filter/filter-filter.c
parent43a998d8cba35528f094d206b23084e114353e12 (diff)
downloadgsoc2013-evolution-1b00ce5ca9b8a7c3a0cf0d96579aa04aad5e0820.tar.gz
gsoc2013-evolution-1b00ce5ca9b8a7c3a0cf0d96579aa04aad5e0820.tar.zst
gsoc2013-evolution-1b00ce5ca9b8a7c3a0cf0d96579aa04aad5e0820.zip
Copy values across to new part.
2002-02-26 Not Zed <NotZed@Ximian.com> * filter-filter.c (option_activate): Copy values across to new part. * filter-rule.c (option_activate): copy values across to new part, if they are compatible. * filter-element.c (filter_element_copy_value): New function to copy values (where they can be) from one filter element to another. * filter-part.c (filter_part_copy_values): New function to copy values of a filter part. #1359. svn path=/trunk/; revision=15841
Diffstat (limited to 'filter/filter-filter.c')
-rw-r--r--filter/filter-filter.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/filter/filter-filter.c b/filter/filter-filter.c
index ad3ba7ac6b..199018da6c 100644
--- a/filter/filter-filter.c
+++ b/filter/filter-filter.c
@@ -332,6 +332,7 @@ option_activate (GtkMenuItem *item, struct _part_data *data)
gtk_container_remove (GTK_CONTAINER (data->container), data->partwidget);
newpart = filter_part_clone (part);
+ filter_part_copy_values(newpart, data->part);
filter_filter_replace_action ((FilterFilter *)data->fr, data->part, newpart);
gtk_object_unref (GTK_OBJECT (data->part));
data->part = newpart;