From e01b1d7c259f148847e97d4c3e609933e26a73cf Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Wed, 12 Sep 2001 22:06:46 +0000 Subject: Clone the current rule before editing it so that changes can be undone. 2001-09-12 Jeffrey Stedfast * rule-editor.c (rule_edit): Clone the current rule before editing it so that changes can be undone. (edit_editor_clicked): If the user hit OK, replace the original rule with the new one. * vfolder-rule.c (vfolder_rule_finalise): Free the sources list. (rule_copy): Implemented. * filter-filter.c (rule_copy): Implemented. * filter-rule.c (filter_rule_copy): New convenience function to copy one rule "into" another. (rule_copy): Default implementation. (filter_rule_clone): Use filter_rule_copy() internally to get rid of the nastiness/slowness of xml encoding and then decoding. svn path=/trunk/; revision=12787 --- filter/ChangeLog | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'filter/ChangeLog') diff --git a/filter/ChangeLog b/filter/ChangeLog index 827efa6f0b..fcd6f22aed 100644 --- a/filter/ChangeLog +++ b/filter/ChangeLog @@ -1,3 +1,21 @@ +2001-09-12 Jeffrey Stedfast + + * rule-editor.c (rule_edit): Clone the current rule before editing + it so that changes can be undone. + (edit_editor_clicked): If the user hit OK, replace the original + rule with the new one. + + * vfolder-rule.c (vfolder_rule_finalise): Free the sources list. + (rule_copy): Implemented. + + * filter-filter.c (rule_copy): Implemented. + + * filter-rule.c (filter_rule_copy): New convenience function to + copy one rule "into" another. + (rule_copy): Default implementation. + (filter_rule_clone): Use filter_rule_copy() internally to get rid + of the nastiness/slowness of xml encoding and then decoding. + 2001-09-12 * vfoldertypes.xml: Remove the match-all from the not -- cgit