Commit 6c227e51 authored by Dan Winship's avatar Dan Winship

(save_service): Don't look at authtype if the widget is

	insensitive. (Fixes the "smtp://;auth=PLAINservername" bug.)

svn path=/trunk/; revision=8979
parent fdb5b0e4
......@@ -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 <NotZed@Ximian.com>
......
......@@ -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");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment