diff options
-rw-r--r-- | filter/ChangeLog | 6 | ||||
-rw-r--r-- | filter/vfolder-rule.c | 3 |
2 files changed, 9 insertions, 0 deletions
diff --git a/filter/ChangeLog b/filter/ChangeLog index 8b3d21dce3..c260cb8fb8 100644 --- a/filter/ChangeLog +++ b/filter/ChangeLog @@ -1,3 +1,9 @@ +2001-09-28 <NotZed@Ximian.com> + + * vfolder-rule.c (vfolder_rule_add_source): Emit changed events + when we change it. + (vfolder_rule_remove_source): " + 2001-09-28 Jeffrey Stedfast <fejj@ximian.com> * rule-editor.c (edit_editor_clicked): Set the item label to the diff --git a/filter/vfolder-rule.c b/filter/vfolder-rule.c index 4f728e2944..c0e790bc54 100644 --- a/filter/vfolder-rule.c +++ b/filter/vfolder-rule.c @@ -138,6 +138,8 @@ vfolder_rule_add_source (VfolderRule *vr, const char *uri) g_assert(IS_VFOLDER_RULE(vr)); vr->sources = g_list_append(vr->sources, g_strdup(uri)); + + filter_rule_emit_changed((FilterRule *)vr); } const char * @@ -169,6 +171,7 @@ vfolder_rule_remove_source (VfolderRule *vr, const char *uri) if (found) { vr->sources = g_list_remove(vr->sources, found); g_free(found); + filter_rule_emit_changed((FilterRule *)vr); } } |