aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-account-gui.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2001-03-28 00:29:54 +0800
committerDan Winship <danw@src.gnome.org>2001-03-28 00:29:54 +0800
commit6c227e51270d796efa77a6670de719f17a6bdfef (patch)
treee69d9823c065be2deb20ca3e606a7b3aa3362e54 /mail/mail-account-gui.c
parentfdb5b0e470e956874a4f4fc442d392ddd982d25b (diff)
downloadgsoc2013-evolution-6c227e51270d796efa77a6670de719f17a6bdfef.tar
gsoc2013-evolution-6c227e51270d796efa77a6670de719f17a6bdfef.tar.gz
gsoc2013-evolution-6c227e51270d796efa77a6670de719f17a6bdfef.tar.bz2
gsoc2013-evolution-6c227e51270d796efa77a6670de719f17a6bdfef.tar.lz
gsoc2013-evolution-6c227e51270d796efa77a6670de719f17a6bdfef.tar.xz
gsoc2013-evolution-6c227e51270d796efa77a6670de719f17a6bdfef.tar.zst
gsoc2013-evolution-6c227e51270d796efa77a6670de719f17a6bdfef.zip
(save_service): Don't look at authtype if the widget is
insensitive. (Fixes the "smtp://;auth=PLAINservername" bug.) svn path=/trunk/; revision=8979
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");