diff options
author | 8 <NotZed@Ximian.com> | 2001-09-29 07:51:03 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2001-09-29 07:51:03 +0800 |
commit | f1eb4aa8cf71a6e690eb76e00a3d5111035931b6 (patch) | |
tree | 4b4ad8819768325672b6d427570e547235b8a394 /filter | |
parent | 22a9d810427da7139cf53532d460bde0ba534ac5 (diff) | |
download | gsoc2013-evolution-f1eb4aa8cf71a6e690eb76e00a3d5111035931b6.tar.gz gsoc2013-evolution-f1eb4aa8cf71a6e690eb76e00a3d5111035931b6.tar.zst gsoc2013-evolution-f1eb4aa8cf71a6e690eb76e00a3d5111035931b6.zip |
Emit changed events when we change it. (vfolder_rule_remove_source): "
2001-09-28 <NotZed@Ximian.com>
* vfolder-rule.c (vfolder_rule_add_source): Emit changed events
when we change it.
(vfolder_rule_remove_source): "
svn path=/trunk/; revision=13241
Diffstat (limited to 'filter')
-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); } } |