aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules/addressbook/addressbook-config.c2
-rw-r--r--modules/addressbook/addressbook-config.h4
-rw-r--r--modules/addressbook/ldap-config.ui4
3 files changed, 5 insertions, 5 deletions
diff --git a/modules/addressbook/addressbook-config.c b/modules/addressbook/addressbook-config.c
index 9c48c9de8c..f39fa79426 100644
--- a/modules/addressbook/addressbook-config.c
+++ b/modules/addressbook/addressbook-config.c
@@ -701,7 +701,7 @@ port_entry_changed_cb (GtkWidget *w, AddressbookSourceDialog *sdialog)
const gchar *port = gtk_entry_get_text ((GtkEntry *) w);
if (!strcmp (port, LDAPS_PORT_STRING)) {
- sdialog->ssl = ADDRESSBOOK_LDAP_SSL_WHENEVER_POSSIBLE;
+ sdialog->ssl = ADDRESSBOOK_LDAP_SSL_ALWAYS;
gtk_combo_box_set_active (GTK_COMBO_BOX (sdialog->ssl_combobox), sdialog->ssl);
gtk_widget_set_sensitive (sdialog->ssl_combobox, FALSE);
} else {
diff --git a/modules/addressbook/addressbook-config.h b/modules/addressbook/addressbook-config.h
index aaf791d487..d9fefb7e82 100644
--- a/modules/addressbook/addressbook-config.h
+++ b/modules/addressbook/addressbook-config.h
@@ -42,8 +42,8 @@ typedef enum {
/* the order matches order of items in "ssl-combobox" */
typedef enum {
- ADDRESSBOOK_LDAP_SSL_WHENEVER_POSSIBLE, /* SSL */
- ADDRESSBOOK_LDAP_SSL_ALWAYS, /* TLS */
+ ADDRESSBOOK_LDAP_SSL_WHENEVER_POSSIBLE, /* TLS */
+ ADDRESSBOOK_LDAP_SSL_ALWAYS, /* SSL */
ADDRESSBOOK_LDAP_SSL_NEVER /* No encryption */
} AddressbookLDAPSSLType;
diff --git a/modules/addressbook/ldap-config.ui b/modules/addressbook/ldap-config.ui
index 4d045f51a1..8756c4a588 100644
--- a/modules/addressbook/ldap-config.ui
+++ b/modules/addressbook/ldap-config.ui
@@ -21,10 +21,10 @@
</columns>
<data>
<row>
- <col id="0" translatable="yes">SSL encryption</col>
+ <col id="0" translatable="yes">TLS encryption</col>
</row>
<row>
- <col id="0" translatable="yes">TLS encryption</col>
+ <col id="0" translatable="yes">SSL encryption</col>
</row>
<row>
<col id="0" translatable="yes">No encryption</col>