From b14b72af1372cd689d84895d5b59283a1694b915 Mon Sep 17 00:00:00 2001 From: Alexandre Savard <alexandre.savard@savoirfairelinux.com> Date: Tue, 17 Apr 2012 10:04:49 -0400 Subject: [PATCH] #9623: Does not allow IP2IP call to make TLS calls --- gnome/src/config/accountconfigdialog.c | 3 --- gnome/src/config/tlsadvanceddialog.c | 3 --- 2 files changed, 6 deletions(-) diff --git a/gnome/src/config/accountconfigdialog.c b/gnome/src/config/accountconfigdialog.c index 375abd1fec..73cd407362 100644 --- a/gnome/src/config/accountconfigdialog.c +++ b/gnome/src/config/accountconfigdialog.c @@ -1126,9 +1126,6 @@ static GtkWidget* create_direct_ip_calls_tab(const account_t *account) GtkWidget *frame = create_network(account); gtk_box_pack_start(GTK_BOX(vbox), frame, FALSE, FALSE, 0); - frame = create_security_widget(account); - gtk_box_pack_start(GTK_BOX(vbox), frame, FALSE, FALSE, 0); - gtk_widget_show_all(vbox); return vbox; } diff --git a/gnome/src/config/tlsadvanceddialog.c b/gnome/src/config/tlsadvanceddialog.c index b3f4c0d61a..2ae6f2b8c6 100644 --- a/gnome/src/config/tlsadvanceddialog.c +++ b/gnome/src/config/tlsadvanceddialog.c @@ -127,9 +127,6 @@ void show_advanced_tls_options(account_t *account) gtk_spin_button_set_value(GTK_SPIN_BUTTON(tlsListenerPort), g_ascii_strtod(tls_listener_port, NULL)); gtk_box_pack_start(GTK_BOX(hbox), tlsListenerPort, TRUE, TRUE, 0); - if (!account_is_IP2IP(account)) - gtk_widget_set_sensitive(tlsListenerPort, FALSE); - label = gtk_label_new(_("Certificate of Authority list")); gtk_misc_set_alignment(GTK_MISC(label), 0, 0.5); gtk_table_attach(GTK_TABLE(table), label, 0, 1, 3, 4, GTK_EXPAND | GTK_FILL, GTK_EXPAND | GTK_FILL, 0, 0); -- GitLab