aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-06-06 01:01:41 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-06-06 01:03:24 +0800
commitb3cdfb6bad5cad0932b02fa049da0fcab66a9603 (patch)
treed80da5b2bff3657f31b71bff898b022a34489a76 /mail
parent517023edcb2468e76786511b0ada27025e18caa6 (diff)
downloadgsoc2013-evolution-b3cdfb6bad5cad0932b02fa049da0fcab66a9603.tar.gz
gsoc2013-evolution-b3cdfb6bad5cad0932b02fa049da0fcab66a9603.tar.zst
gsoc2013-evolution-b3cdfb6bad5cad0932b02fa049da0fcab66a9603.zip
Bug 620628 - Checkbox in vfolder deletion prompt is saved backwards
Diffstat (limited to 'mail')
-rw-r--r--mail/e-mail-reader-utils.c4
1 files changed, 2 insertions, 2 deletions
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);