File NetworkManager-gnome-hide-ws-page-note.patch of Package NetworkManager-gnome.openSUSE_12.1_Update

diff --git a/src/wireless-security/eap-method-peap.c b/src/wireless-security/eap-method-peap.c
index 8637878..759d36b 100644
--- a/src/wireless-security/eap-method-peap.c
+++ b/src/wireless-security/eap-method-peap.c
@@ -465,6 +465,8 @@ eap_method_peap_new (WirelessSecurity *ws_parent,
 		} else {
 			gtk_widget_hide (widget);
 		}
+	} else {
+		gtk_widget_hide (widget);
 	}
 
 	widget = GTK_WIDGET (gtk_builder_get_object (parent->builder, "eap_peap_anon_identity_entry"));
diff --git a/src/wireless-security/eap-method-ttls.c b/src/wireless-security/eap-method-ttls.c
index 6e07a26..762e556 100644
--- a/src/wireless-security/eap-method-ttls.c
+++ b/src/wireless-security/eap-method-ttls.c
@@ -443,6 +443,8 @@ eap_method_ttls_new (WirelessSecurity *ws_parent,
 		} else {
 			gtk_widget_hide (widget);
 		}
+	} else {
+		gtk_widget_hide (widget);
 	}
 
 	widget = GTK_WIDGET (gtk_builder_get_object (parent->builder, "eap_ttls_anon_identity_entry"));
openSUSE Build Service is sponsored by