aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui
diff options
context:
space:
mode:
authorSuman Manjunath <msuman@src.gnome.org>2008-09-01 12:16:05 +0800
committerSuman Manjunath <msuman@src.gnome.org>2008-09-01 12:16:05 +0800
commit42eec28fb010f2c24c94a69f7cb0e56f7f74ff16 (patch)
treeda67394b3fde3497bdb9f83847b2f004c5075f18 /addressbook/gui
parent07f20eb8fb34789ca0ff9d418545f87bec443b85 (diff)
downloadgsoc2013-evolution-42eec28fb010f2c24c94a69f7cb0e56f7f74ff16.tar
gsoc2013-evolution-42eec28fb010f2c24c94a69f7cb0e56f7f74ff16.tar.gz
gsoc2013-evolution-42eec28fb010f2c24c94a69f7cb0e56f7f74ff16.tar.bz2
gsoc2013-evolution-42eec28fb010f2c24c94a69f7cb0e56f7f74ff16.tar.lz
gsoc2013-evolution-42eec28fb010f2c24c94a69f7cb0e56f7f74ff16.tar.xz
gsoc2013-evolution-42eec28fb010f2c24c94a69f7cb0e56f7f74ff16.tar.zst
gsoc2013-evolution-42eec28fb010f2c24c94a69f7cb0e56f7f74ff16.zip
Milan Crha <mcrha@redhat.com> ** Fix for bug #448435 (Keep UI consistent, disable SSL method for 636 port).
svn path=/trunk/; revision=36238
Diffstat (limited to 'addressbook/gui')
-rw-r--r--addressbook/gui/component/addressbook-config.c1
1 files changed, 1 insertions, 0 deletions
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);