diff options
author | Not Zed <NotZed@Ximian.com> | 2002-07-15 10:06:46 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2002-07-15 10:06:46 +0800 |
commit | 393fa3c3e84b73dc591fa4481bcf2731dc640157 (patch) | |
tree | 3dab076406b9611fd5fa3eb7b77289c99f6136a5 /mail/mail-callbacks.c | |
parent | 68ec840bca073bc8e8ea2f58ad36078df9c619c1 (diff) | |
download | gsoc2013-evolution-393fa3c3e84b73dc591fa4481bcf2731dc640157.tar.gz gsoc2013-evolution-393fa3c3e84b73dc591fa4481bcf2731dc640157.tar.zst gsoc2013-evolution-393fa3c3e84b73dc591fa4481bcf2731dc640157.zip |
** fixes for #10781
2002-07-10 Not Zed <NotZed@Ximian.com>
** fixes for #10781
* mail-callbacks.c (filter_edit): Add back a cancel button. We
dont need to do anything special to 'undo' here, as the rules are
loaded every time they're used.
* mail-vfolder.c (vfolder_editor_clicked): If ok wans't clicked,
revert the ruleset.
(vfolder_editor_destroy): Fake a button of -1 if we get destroyed
with no click.
(context_rule_removed): Unref the folder after we delete it. If
we're the last ref to the folder, unrefing it means it no longer
exist,s which means no delte processing occurs ...
svn path=/trunk/; revision=17449
Diffstat (limited to 'mail/mail-callbacks.c')
-rw-r--r-- | mail/mail-callbacks.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c index 2cf8a5a8f5..2349dafb05 100644 --- a/mail/mail-callbacks.c +++ b/mail/mail-callbacks.c @@ -2739,6 +2739,7 @@ filter_edit (BonoboUIComponent *uih, void *user_data, const char *path) gtk_object_set_data_full (GTK_OBJECT (filter_editor), "context", fc, (GtkDestroyNotify)gtk_object_unref); gtk_signal_connect (GTK_OBJECT (filter_editor), "clicked", filter_editor_clicked, fb); gtk_signal_connect (GTK_OBJECT (filter_editor), "destroy", filter_editor_destroy, NULL); + gnome_dialog_append_buttons(GNOME_DIALOG(filter_editor), GNOME_STOCK_BUTTON_CANCEL, NULL); gtk_widget_show (GTK_WIDGET (filter_editor)); } |