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



commit eb2735e4a7025c10c7a69b83c383288f4990e005
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 |    6 +-----
 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, 1 insertions(+), 17 deletions(-)
---
diff --git a/src/wireless-security/eap-method-fast.c b/src/wireless-security/eap-method-fast.c
index c1fc628..0747170 100644
--- a/src/wireless-security/eap-method-fast.c
+++ b/src/wireless-security/eap-method-fast.c
@@ -17,7 +17,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"
@@ -107,10 +107,6 @@ add_to_size_group (EAPMethod *parent, GtkSizeGroup *group)
        g_assert (widget);
        gtk_size_group_add_widget (group, widget);
 
-       widget = GTK_WIDGET (gtk_builder_get_object (parent->builder, "eap_fast_pac_provision_checkbutton"));
-       g_assert (widget);
-       gtk_size_group_add_widget (group, widget);
-
        widget = GTK_WIDGET (gtk_builder_get_object (parent->builder, "eap_fast_inner_auth_label"));
        g_assert (widget);
        gtk_size_group_add_widget (group, widget);
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]