aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-accounts.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-accounts.c')
-rw-r--r--mail/mail-accounts.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/mail/mail-accounts.c b/mail/mail-accounts.c
index 0bc9191743..bd125de1fa 100644
--- a/mail/mail-accounts.c
+++ b/mail/mail-accounts.c
@@ -656,7 +656,10 @@ static void
images_radio_toggled (GtkWidget *radio, gpointer data)
{
MailAccountsDialog *dialog = data;
-
+
+ if (!gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (radio)))
+ return;
+
if (radio == (GtkWidget *)dialog->images_always)
mail_config_set_http_mode (MAIL_CONFIG_HTTP_ALWAYS);
else if (radio == (GtkWidget *)dialog->images_sometimes)