From 12256b4f1cc7def560824ed5fb3c506669709a32 Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Mon, 23 Apr 2012 12:42:50 +0200 Subject: Bug #671537 - Option to validate SSL certificates with libsoup --- plugins/webdav-account-setup/webdav-contacts-source.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'plugins/webdav-account-setup/webdav-contacts-source.c') diff --git a/plugins/webdav-account-setup/webdav-contacts-source.c b/plugins/webdav-account-setup/webdav-contacts-source.c index f81abe3e24..ef6a102ff1 100644 --- a/plugins/webdav-account-setup/webdav-contacts-source.c +++ b/plugins/webdav-account-setup/webdav-contacts-source.c @@ -219,6 +219,7 @@ plugin_webdav_contacts (EPlugin *epl, GtkWidget *section; GtkWidget *vbox2; + GtkWidget *ignore_cert; GtkBox *hbox; GtkWidget *spacer; @@ -288,6 +289,15 @@ plugin_webdav_contacts (EPlugin *epl, gtk_box_pack_start (hbox, GTK_WIDGET (uidata->avoid_ifmatch_toggle), FALSE, FALSE, 0); + hbox = GTK_BOX (gtk_hbox_new (FALSE, 10)); + gtk_box_pack_start (GTK_BOX (vbox2), GTK_WIDGET (hbox), TRUE, TRUE, 0); + + spacer = gtk_label_new(" "); + gtk_box_pack_start (hbox, spacer, FALSE, FALSE, 0); + + ignore_cert = e_plugin_util_add_check (NULL, _("_Ignore invalid SSL certificate"), source, "ignore-invalid-cert", "1", NULL); + gtk_box_pack_start (hbox, ignore_cert, TRUE, TRUE, 0); + set_ui_from_source (uidata); gtk_widget_show_all (vbox2); -- cgit v1.2.3