[network-manager-applet/lr/ui-improvements: 2/19] wireless-security: don't add the "No CA" checkboxes to the size group for labels



commit 43aa2f32beee8d4d8c4fac95a1b10cd5ac1928e1
Author: Lubomir Rintel <lkundrak v3 sk>
Date:   Thu Jun 22 17:44:24 2017 +0200

    wireless-security: don't add the "No CA" checkboxes to the size group for labels
    
    It's in a different columns which then in turn gets slightly incorrectly
    resized.

 src/wireless-security/eap-method-fast.c |    8 +++-----
 src/wireless-security/eap-method-peap.c |    4 ----
 src/wireless-security/eap-method-tls.c  |    4 ----
 src/wireless-security/eap-method-ttls.c |    4 ----
 4 files changed, 3 insertions(+), 17 deletions(-)
---
diff --git a/src/wireless-security/eap-method-fast.c b/src/wireless-security/eap-method-fast.c
index c1fc628..5835ce9 100644
--- a/src/wireless-security/eap-method-fast.c
+++ b/src/wireless-security/eap-method-fast.c
@@ -1,7 +1,5 @@
-/* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */
-/* vim: set ft=c ts=4 sts=4 sw=4 noexpandtab smartindent: */
-
-/* EAP-FAST authentication method (RFC4851)
+/*
+ * EAP-FAST authentication method (RFC4851)
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -17,7 +15,7 @@
  * with this program; if not, write to the Free Software Foundation, Inc.,
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  *
- * Copyright 2012 - 2014 Red Hat, Inc.
+ * Copyright 2012 - 2017 Red Hat, Inc.
  */
 
 #include "nm-default.h"
diff --git a/src/wireless-security/eap-method-peap.c b/src/wireless-security/eap-method-peap.c
index 4be5376..e74b4f2 100644
--- a/src/wireless-security/eap-method-peap.c
+++ b/src/wireless-security/eap-method-peap.c
@@ -100,10 +100,6 @@ add_to_size_group (EAPMethod *parent, GtkSizeGroup *group)
                g_object_unref (method->size_group);
        method->size_group = g_object_ref (group);
 
-       widget = GTK_WIDGET (gtk_builder_get_object (parent->builder, 
"eap_peap_ca_cert_not_required_checkbox"));
-       g_assert (widget);
-       gtk_size_group_add_widget (group, widget);
-
        widget = GTK_WIDGET (gtk_builder_get_object (parent->builder, "eap_peap_anon_identity_label"));
        g_assert (widget);
        gtk_size_group_add_widget (group, widget);
diff --git a/src/wireless-security/eap-method-tls.c b/src/wireless-security/eap-method-tls.c
index d3bbf66..934dbad 100644
--- a/src/wireless-security/eap-method-tls.c
+++ b/src/wireless-security/eap-method-tls.c
@@ -92,10 +92,6 @@ add_to_size_group (EAPMethod *parent, GtkSizeGroup *group)
        EAPMethodTLS *method = (EAPMethodTLS *) parent;
        GtkWidget *widget;
 
-       widget = GTK_WIDGET (gtk_builder_get_object (parent->builder, 
"eap_tls_ca_cert_not_required_checkbox"));
-       g_assert (widget);
-       gtk_size_group_add_widget (group, widget);
-
        widget = GTK_WIDGET (gtk_builder_get_object (parent->builder, "eap_tls_identity_label"));
        g_assert (widget);
        gtk_size_group_add_widget (group, widget);
diff --git a/src/wireless-security/eap-method-ttls.c b/src/wireless-security/eap-method-ttls.c
index 71bede9..da24568 100644
--- a/src/wireless-security/eap-method-ttls.c
+++ b/src/wireless-security/eap-method-ttls.c
@@ -101,10 +101,6 @@ add_to_size_group (EAPMethod *parent, GtkSizeGroup *group)
                g_object_unref (method->size_group);
        method->size_group = g_object_ref (group);
 
-       widget = GTK_WIDGET (gtk_builder_get_object (parent->builder, 
"eap_ttls_ca_cert_not_required_checkbox"));
-       g_assert (widget);
-       gtk_size_group_add_widget (group, widget);
-
        widget = GTK_WIDGET (gtk_builder_get_object (parent->builder, "eap_ttls_anon_identity_label"));
        g_assert (widget);
        gtk_size_group_add_widget (group, widget);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]