[network-manager-applet] editor: show missing toggle in the 8021x-security page



commit 49f87caa3ab867de2569185c34c384d507ed5b62
Author: Beniamino Galvani <bgalvani redhat com>
Date:   Thu Feb 25 16:26:49 2021 +0100

    editor: show missing toggle in the 8021x-security page
    
    Fixes: bf6b33bbe20f ("editor: show() the 8021x-security page, not its children")

 src/connection-editor/page-8021x-security.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/connection-editor/page-8021x-security.c b/src/connection-editor/page-8021x-security.c
index dde816cc..c29df4e0 100644
--- a/src/connection-editor/page-8021x-security.c
+++ b/src/connection-editor/page-8021x-security.c
@@ -65,6 +65,7 @@ finish_setup (CEPage8021xSecurity *self, gpointer user_data)
        if (parent_container)
                gtk_container_remove (GTK_CONTAINER (parent_container), GTK_WIDGET (priv->security));
 
+       gtk_widget_set_visible (GTK_WIDGET (priv->enabled), TRUE);
        gtk_toggle_button_set_active (priv->enabled, priv->initial_have_8021x);
        g_signal_connect (priv->enabled, "toggled", G_CALLBACK (enable_toggled), self);
        gtk_widget_set_sensitive (GTK_WIDGET (priv->security), priv->initial_have_8021x);


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