summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBeniamino Galvani <bgalvani@redhat.com>2020-11-17 18:13:33 +0100
committerBeniamino Galvani <bgalvani@redhat.com>2020-11-18 08:47:06 +0100
commitbf6b33bbe20f3680ee9cac2d936dd2bbdc139bff (patch)
treea3e4c3957e65888054da51d0cfc907e5ab0af86e
parenteecaaaff41976e18f99a3a68d26933f4f3063047 (diff)
downloadnetwork-manager-applet-bf6b33bbe20f3680ee9cac2d936dd2bbdc139bff.tar.gz
editor: show() the 8021x-security page, not its children
During the construction of the security widget, some child widgets are set as hidden because they should never appear (for example, the private key passphrase entry for EAP-MD5). gtk_widget_show_all() wrongly displays them again. Use gtk_widget_show() instead. Fixes: 9b5c5eed6aa6 ("Revert '8021x-security: don't show_all() the widgets'")
-rw-r--r--src/connection-editor/page-8021x-security.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/connection-editor/page-8021x-security.c b/src/connection-editor/page-8021x-security.c
index 3fe3d629..5f2d3be9 100644
--- a/src/connection-editor/page-8021x-security.c
+++ b/src/connection-editor/page-8021x-security.c
@@ -74,7 +74,7 @@ finish_setup (CEPage8021xSecurity *self, gpointer user_data)
gtk_box_pack_start (GTK_BOX (parent->page), GTK_WIDGET (priv->enabled), FALSE, TRUE, 12);
gtk_box_pack_start (GTK_BOX (parent->page), priv->security_widget, TRUE, TRUE, 0);
- gtk_widget_show_all (parent->page);
+ gtk_widget_show (parent->page);
}
CEPage *