[network-manager-applet/th/ca_cert_ignore: 1/2] applet: initialize ca_cert_ignore checkbox for "Connect to Hidden"
- From: Thomas Haller <thaller src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [network-manager-applet/th/ca_cert_ignore: 1/2] applet: initialize ca_cert_ignore checkbox for "Connect to Hidden"
- Date: Tue, 29 Oct 2013 19:47:48 +0000 (UTC)
commit 2260634f4bf4e58b7e88b5407e25b3404c1fdf0d
Author: Thomas Haller <thaller redhat com>
Date: Mon Oct 7 14:57:35 2013 +0200
applet: initialize ca_cert_ignore checkbox for "Connect to Hidden"
When opening the "Connect to Hidden Network" dialog for a connection
without CA authority, the ca_cert_ignore checkbox was not properly loaded
and always stayed unchecked.
With this change, EAP connections without ca_cert_ignore flag will be
validate as erroneous and the "Connect" button in the "Connect to Hidden
Network" dialog stays disabled.
Previously, the behaviour was indeterministic, and also it might trigger
an assert in eap_method_ca_cert_not_required_toggled.
Signed-off-by: Thomas Haller <thaller redhat com>
src/libnm-gtk/nm-wifi-dialog.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/libnm-gtk/nm-wifi-dialog.c b/src/libnm-gtk/nm-wifi-dialog.c
index c2fee7d..b870943 100644
--- a/src/libnm-gtk/nm-wifi-dialog.c
+++ b/src/libnm-gtk/nm-wifi-dialog.c
@@ -339,6 +339,9 @@ connection_combo_changed (GtkWidget *combo,
C_CON_COLUMN, &priv->connection,
C_NEW_COLUMN, &is_new, -1);
+ if (priv->connection)
+ eap_method_ca_cert_ignore_load (priv->connection);
+
if (!security_combo_init (self, priv->secrets_only)) {
g_warning ("Couldn't change Wi-Fi security combo box.");
return;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]