From 6c227e51270d796efa77a6670de719f17a6bdfef Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Tue, 27 Mar 2001 16:29:54 +0000 Subject: (save_service): Don't look at authtype if the widget is insensitive. (Fixes the "smtp://;auth=PLAINservername" bug.) svn path=/trunk/; revision=8979 --- mail/ChangeLog | 2 ++ mail/mail-account-gui.c | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/mail/ChangeLog b/mail/ChangeLog index 182db7c29d..90e4fff20d 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -3,6 +3,8 @@ * mail-account-gui.c (mail_account_gui_new): Fill in signature and organization too. (mail_account_gui_save): Preserve the "enabled" flag on the source. + (save_service): Don't look at authtype if the widget is + insensitive. (Fixes the "smtp://;auth=PLAINservername" bug.) 2001-03-27 Not Zed diff --git a/mail/mail-account-gui.c b/mail/mail-account-gui.c index 62857d0519..7ada3d75f3 100644 --- a/mail/mail-account-gui.c +++ b/mail/mail-account-gui.c @@ -997,7 +997,8 @@ save_service (MailAccountGuiService *gsvc, GHashTable *extra_config, url->user = g_strdup (str); } - if (CAMEL_PROVIDER_ALLOWS (gsvc->provider, CAMEL_URL_PART_AUTH)) { + if (CAMEL_PROVIDER_ALLOWS (gsvc->provider, CAMEL_URL_PART_AUTH) && + GTK_WIDGET_IS_SENSITIVE (gsvc->authtype)) { CamelServiceAuthType *authtype; authtype = gtk_object_get_data (GTK_OBJECT (gsvc->authitem), "authtype"); -- cgit