From a7bd4ac53f1d38068f1225fc1272c6132a908fc4 Mon Sep 17 00:00:00 2001
From: pierre-luc <pierre-luc.bacon@savoirfairelinux.com>
Date: Fri, 28 Aug 2009 12:00:54 -0400
Subject: [PATCH] [#2111] Added the ability to configure zrtp on
 sip.sflphone.org from the configuration assistant.

---
 sflphone-client-gnome/src/config/assistant.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/sflphone-client-gnome/src/config/assistant.c b/sflphone-client-gnome/src/config/assistant.c
index fb7a75e6c8..59e7c94173 100644
--- a/sflphone-client-gnome/src/config/assistant.c
+++ b/sflphone-client-gnome/src/config/assistant.c
@@ -377,6 +377,12 @@ GtkWidget* build_email_configuration( void ) {
 	gtk_label_set_mnemonic_widget (GTK_LABEL (label), wiz->mailbox);
 	gtk_table_attach ( GTK_TABLE( table ), wiz->mailbox, 1, 2, 0, 1, GTK_EXPAND | GTK_FILL, GTK_EXPAND | GTK_FILL, 0, 0);
 
+    // Security options
+	wiz->zrtp_enable = gtk_check_button_new_with_mnemonic(_("Secure communications with _ZRTP"));
+	gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(wiz->zrtp_enable), FALSE);
+	gtk_table_attach ( GTK_TABLE( table ), wiz->zrtp_enable, 0, 1, 5, 6, GTK_EXPAND | GTK_FILL, GTK_EXPAND | GTK_FILL, 0, 0);
+	gtk_widget_set_sensitive( GTK_WIDGET( wiz->zrtp_enable ) , TRUE );
+	
 	return wiz->email;
 }
 
-- 
GitLab