};
static PrefParam receive_param[] = {
+ {"use_apop_auth", "FALSE", &tmp_ac_prefs.use_apop_auth, P_BOOL,
+ NULL, NULL}, /* deprecated */
+
{"use_pop_auth", "FALSE", &tmp_ac_prefs.use_pop_auth, P_BOOL,
&receive_page.pop_auth_checkbtn,
prefs_set_data_from_toggle, prefs_set_toggle},
/* Receive */
gboolean use_pop_auth;
POPAuthType pop_auth_type;
+ gboolean use_apop_auth; /* deprecated */
gboolean rmmail;
gint msg_leave_time;
gint msg_leave_hour;
/*
* Claws Mail -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2020 the Claws Mail team and Hiroyuki Yamamoto
+ * Copyright (C) 1999-2021 the Claws Mail team and Hiroyuki Yamamoto
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
#include "prefs_msg_colors.h"
#include "prefs_summary_open.h"
-#define CLAWS_CONFIG_VERSION 3
+#define CLAWS_CONFIG_VERSION 4
typedef struct _PrefsCommon PrefsCommon;
break;
+ case 3:
+ /* With the introduction of OAUTH2 support, the APOP option
+ * (use_apop_auth) has been swallowed into a combobox and
+ * renamed */
+ if (ac_prefs->use_apop_auth == 1) {
+ ac_prefs->use_pop_auth = 1;
+ ac_prefs->pop_auth_type = 1;
+ }
+ break;
default:
/* NOOP */