aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-accounts.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-10-05 05:29:55 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-10-05 05:29:55 +0800
commit3eed228723a8c745e6ae28df8a80191c24dd483a (patch)
treeca5b0d15aec57c3f7c30418b3aea24275b10e7fa /mail/mail-accounts.c
parent447e2e189e014678bd8af495a3fc6ca5d70297ca (diff)
downloadgsoc2013-evolution-3eed228723a8c745e6ae28df8a80191c24dd483a.tar
gsoc2013-evolution-3eed228723a8c745e6ae28df8a80191c24dd483a.tar.gz
gsoc2013-evolution-3eed228723a8c745e6ae28df8a80191c24dd483a.tar.bz2
gsoc2013-evolution-3eed228723a8c745e6ae28df8a80191c24dd483a.tar.lz
gsoc2013-evolution-3eed228723a8c745e6ae28df8a80191c24dd483a.tar.xz
gsoc2013-evolution-3eed228723a8c745e6ae28df8a80191c24dd483a.tar.zst
gsoc2013-evolution-3eed228723a8c745e6ae28df8a80191c24dd483a.zip
Ignore the signal if the radio button is not "on". This fixes bug #10532
2001-10-04 Jeffrey Stedfast <fejj@ximian.com> * mail-accounts.c (images_radio_toggled): Ignore the signal if the radio button is not "on". This fixes bug #10532 because the on/off signals don't always come in the off->on order. * mail-ops.c (mail_send_message): Reduced some redundancy. svn path=/trunk/; revision=13424
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)