aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-account-gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-account-gui.c')
-rw-r--r--mail/mail-account-gui.c3
1 files changed, 2 insertions, 1 deletions
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");