From b3cdfb6bad5cad0932b02fa049da0fcab66a9603 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Sat, 5 Jun 2010 13:01:41 -0400 Subject: Bug 620628 - Checkbox in vfolder deletion prompt is saved backwards --- mail/e-mail-reader-utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mail') diff --git a/mail/e-mail-reader-utils.c b/mail/e-mail-reader-utils.c index f50aea7636..566d2e7ac2 100644 --- a/mail/e-mail-reader-utils.c +++ b/mail/e-mail-reader-utils.c @@ -115,11 +115,11 @@ e_mail_reader_confirm_delete (EMailReader *reader) response = gtk_dialog_run (GTK_DIALOG (dialog)); - if (response == GTK_RESPONSE_OK) + if (response != GTK_RESPONSE_DELETE_EVENT) e_shell_settings_set_boolean ( shell_settings, "mail-prompt-delete-in-vfolder", - gtk_toggle_button_get_active ( + !gtk_toggle_button_get_active ( GTK_TOGGLE_BUTTON (check_button))); gtk_widget_destroy (dialog); -- cgit