diff options
Diffstat (limited to 'mail/em-account-editor.c')
-rw-r--r-- | mail/em-account-editor.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mail/em-account-editor.c b/mail/em-account-editor.c index 686f8cebcb..ee2a5a75d6 100644 --- a/mail/em-account-editor.c +++ b/mail/em-account-editor.c @@ -1412,7 +1412,10 @@ emae_authtype_changed(GtkComboBox *dropdown, EMAccountEditorService *service) } camel_url_free(url); - gtk_widget_set_sensitive((GtkWidget *)service->remember, authtype?authtype->need_password:FALSE); + gtk_widget_set_sensitive((GtkWidget *)service->remember, + authtype + ?(authtype->need_password && e_account_writable(service->emae->account, emae_service_info[service->type].save_passwd_key)) + :FALSE); } static void |