diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2017-06-22 17:44:24 +0200 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2017-07-11 17:51:03 +0200 |
commit | c4d53e1d770189a50e8900ff2605a63118712c8b (patch) | |
tree | ad1d84f6f5937a82cb502a65cb062709eb82a32b | |
parent | 49fd69b0deca0bc38324d78b25b2a29d83212e4d (diff) | |
download | network-manager-applet-c4d53e1d770189a50e8900ff2605a63118712c8b.tar.gz |
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.
-rw-r--r-- | src/wireless-security/eap-method-fast.c | 8 | ||||
-rw-r--r-- | src/wireless-security/eap-method-peap.c | 4 | ||||
-rw-r--r-- | src/wireless-security/eap-method-tls.c | 4 | ||||
-rw-r--r-- | 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 c1fc6281..5835ce98 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 4be53762..e74b4f24 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 d3bbf66d..934dbad4 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 71bede99..da245684 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); |