From 42eec28fb010f2c24c94a69f7cb0e56f7f74ff16 Mon Sep 17 00:00:00 2001 From: Suman Manjunath Date: Mon, 1 Sep 2008 04:16:05 +0000 Subject: Milan Crha ** Fix for bug #448435 (Keep UI consistent, disable SSL method for 636 port). svn path=/trunk/; revision=36238 --- addressbook/ChangeLog | 7 +++++++ addressbook/gui/component/addressbook-config.c | 1 + 2 files changed, 8 insertions(+) diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index 6a0c16eb41..862d1e607a 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,10 @@ +2008-09-01 Milan Crha + + ** Fix for bug #448435 + + * gui/component/addressbook-config.c: (eabc_general_host): + Keep UI consistent, disable SSL method for 636 port. + 2008-09-01 Milan Crha ** Part of fix for bug #548827 diff --git a/addressbook/gui/component/addressbook-config.c b/addressbook/gui/component/addressbook-config.c index 2b749a6dd8..978fdb21e1 100644 --- a/addressbook/gui/component/addressbook-config.c +++ b/addressbook/gui/component/addressbook-config.c @@ -736,6 +736,7 @@ eabc_general_host(EConfig *ec, EConfigItem *item, struct _GtkWidget *parent, str tmp = e_source_get_property (sdialog->source, "ssl"); sdialog->ssl = tmp ? ldap_parse_ssl (tmp) : ADDRESSBOOK_LDAP_SSL_WHENEVER_POSSIBLE; gtk_option_menu_set_history (GTK_OPTION_MENU(sdialog->ssl_optionmenu), sdialog->ssl); + gtk_widget_set_sensitive (sdialog->ssl_optionmenu, strcmp (port, LDAPS_PORT_STRING) != 0); g_signal_connect(sdialog->ssl_optionmenu, "changed", G_CALLBACK(ssl_optionmenu_changed_cb), sdialog); g_object_unref(gui); -- cgit v1.2.3