network: Make EAP widgets not visible by default

This makes them more consistent with other widgets.
This commit is contained in:
Robert Ancell 2019-11-11 11:24:07 +13:00 committed by Georges Basile Stavracas Neto
parent 737e5829d6
commit 748a508640
11 changed files with 5 additions and 6 deletions

View file

@ -197,6 +197,7 @@ inner_auth_combo_changed_cb (EAPMethodFAST *self)
gtk_widget_unparent (GTK_WIDGET (eap));
if (self->size_group)
eap_method_add_to_size_group (eap, self->size_group);
gtk_widget_show (GTK_WIDGET (eap));
gtk_container_add (GTK_CONTAINER (self->inner_auth_box), g_object_ref (GTK_WIDGET (eap)));
wireless_security_notify_changed (self->sec_parent);

View file

@ -30,7 +30,6 @@
</data>
</object>
<template class="EAPMethodFAST" parent="GtkGrid">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="valign">start</property>
<property name="column_spacing">6</property>

View file

@ -2,7 +2,6 @@
<interface>
<requires lib="gtk+" version="3.4"/>
<template class="EAPMethodLEAP" parent="GtkGrid">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="valign">start</property>
<property name="column_spacing">6</property>

View file

@ -202,6 +202,7 @@ inner_auth_combo_changed_cb (EAPMethodPEAP *self)
gtk_widget_unparent (GTK_WIDGET (eap));
if (self->size_group)
eap_method_add_to_size_group (eap, self->size_group);
gtk_widget_show (GTK_WIDGET (eap));
gtk_container_add (GTK_CONTAINER (self->inner_auth_box), g_object_ref (GTK_WIDGET (eap)));
wireless_security_notify_changed (self->sec_parent);

View file

@ -30,7 +30,6 @@
</data>
</object>
<template class="EAPMethodPEAP" parent="GtkGrid">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="column_spacing">6</property>
<property name="row_spacing">6</property>

View file

@ -2,7 +2,6 @@
<interface>
<requires lib="gtk+" version="3.4"/>
<template class="EAPMethodSimple" parent="GtkGrid">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="valign">start</property>
<property name="column_spacing">6</property>

View file

@ -2,7 +2,6 @@
<interface>
<requires lib="gtk+" version="3.4"/>
<template class="EAPMethodTLS" parent="GtkGrid">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="valign">start</property>
<property name="column_spacing">6</property>

View file

@ -193,6 +193,7 @@ inner_auth_combo_changed_cb (EAPMethodTTLS *self)
gtk_widget_unparent (GTK_WIDGET (eap));
if (self->size_group)
eap_method_add_to_size_group (eap, self->size_group);
gtk_widget_show (GTK_WIDGET (eap));
gtk_container_add (GTK_CONTAINER (self->inner_auth_box), g_object_ref (GTK_WIDGET (eap)));
wireless_security_notify_changed (self->sec_parent);

View file

@ -13,7 +13,6 @@
</data>
</object>
<template class="EAPMethodTTLS" parent="GtkGrid">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="column_spacing">6</property>
<property name="row_spacing">6</property>

View file

@ -118,6 +118,7 @@ auth_combo_changed_cb (WirelessSecurityDynamicWEP *self)
gtk_widget_unparent (GTK_WIDGET (eap));
if (self->size_group)
eap_method_add_to_size_group (eap, self->size_group);
gtk_widget_show (GTK_WIDGET (eap));
gtk_container_add (GTK_CONTAINER (self->method_box), g_object_ref (GTK_WIDGET (eap)));
/* Refocus the EAP method's default widget */

View file

@ -118,6 +118,7 @@ auth_combo_changed_cb (WirelessSecurityWPAEAP *self)
gtk_widget_unparent (GTK_WIDGET (eap));
if (self->size_group)
eap_method_add_to_size_group (eap, self->size_group);
gtk_widget_show (GTK_WIDGET (eap));
gtk_container_add (GTK_CONTAINER (self->method_box), g_object_ref (GTK_WIDGET (eap)));
/* Refocus the EAP method's default widget */