diff options
author | Milan Crha <mcrha@redhat.com> | 2011-06-02 15:33:31 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-06-30 00:42:22 +0800 |
commit | db4375c307ab4d34cc722a56f6f112f65764d08d (patch) | |
tree | 9e2aeec15a26ff535e661cf5ec0d93c0a08200bd | |
parent | 8600672a9112a22c5fcd9243c5de709bfa9d5c4d (diff) | |
download | gsoc2013-evolution-db4375c307ab4d34cc722a56f6f112f65764d08d.tar gsoc2013-evolution-db4375c307ab4d34cc722a56f6f112f65764d08d.tar.gz gsoc2013-evolution-db4375c307ab4d34cc722a56f6f112f65764d08d.tar.bz2 gsoc2013-evolution-db4375c307ab4d34cc722a56f6f112f65764d08d.tar.lz gsoc2013-evolution-db4375c307ab4d34cc722a56f6f112f65764d08d.tar.xz gsoc2013-evolution-db4375c307ab4d34cc722a56f6f112f65764d08d.tar.zst gsoc2013-evolution-db4375c307ab4d34cc722a56f6f112f65764d08d.zip |
Bug #640083 - Cannot configure LDAPS on port 636
-rw-r--r-- | modules/addressbook/addressbook-config.c | 2 | ||||
-rw-r--r-- | modules/addressbook/addressbook-config.h | 4 | ||||
-rw-r--r-- | 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 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> |