[evolution] Bug #640083 - Cannot configure LDAPS on port 636
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Bug #640083 - Cannot configure LDAPS on port 636
- Date: Thu, 2 Jun 2011 07:34:02 +0000 (UTC)
commit c5ae6cd4ddebfb3aaa3557938d261c6c57f422a4
Author: Milan Crha <mcrha redhat com>
Date: Thu Jun 2 09:33:31 2011 +0200
Bug #640083 - Cannot configure LDAPS on port 636
modules/addressbook/addressbook-config.c | 2 +-
modules/addressbook/addressbook-config.h | 4 ++--
modules/addressbook/ldap-config.ui | 4 ++--
3 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/modules/addressbook/addressbook-config.c b/modules/addressbook/addressbook-config.c
index 9c48c9d..f39fa79 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 aaf791d..d9fefb7 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 4d045f5..8756c4a 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>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]