aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/webdav-account-setup/webdav-contacts-source.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2012-04-23 18:42:50 +0800
committerMilan Crha <mcrha@redhat.com>2012-04-23 18:44:02 +0800
commit12256b4f1cc7def560824ed5fb3c506669709a32 (patch)
tree021273e6eca80507c281e4c32809a00387358dd1 /plugins/webdav-account-setup/webdav-contacts-source.c
parenta99526ed9cc1735412722de9494ee234536056f3 (diff)
downloadgsoc2013-evolution-12256b4f1cc7def560824ed5fb3c506669709a32.tar
gsoc2013-evolution-12256b4f1cc7def560824ed5fb3c506669709a32.tar.gz
gsoc2013-evolution-12256b4f1cc7def560824ed5fb3c506669709a32.tar.bz2
gsoc2013-evolution-12256b4f1cc7def560824ed5fb3c506669709a32.tar.lz
gsoc2013-evolution-12256b4f1cc7def560824ed5fb3c506669709a32.tar.xz
gsoc2013-evolution-12256b4f1cc7def560824ed5fb3c506669709a32.tar.zst
gsoc2013-evolution-12256b4f1cc7def560824ed5fb3c506669709a32.zip
Bug #671537 - Option to validate SSL certificates with libsoup
Diffstat (limited to 'plugins/webdav-account-setup/webdav-contacts-source.c')
-rw-r--r--plugins/webdav-account-setup/webdav-contacts-source.c10
1 files changed, 10 insertions, 0 deletions
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);