pppoe_info_new (GladeXML *xml,
                NMApplet *applet,
                DBusGMethodInvocation *context,
                NMConnection *connection,
                NMActiveConnection *active_connection)
{
	NMPppoeInfo *info;

	info = g_new0 (NMPppoeInfo, 1);
	
	info->username_entry = GTK_ENTRY (glade_xml_get_widget (xml, "dsl_username"));
	g_signal_connect (info->username_entry, "changed", G_CALLBACK (pppoe_verify), info);

	info->service_entry = GTK_ENTRY (glade_xml_get_widget (xml, "dsl_service"));

	info->password_entry = GTK_ENTRY (glade_xml_get_widget (xml, "dsl_password"));
	g_signal_connect (info->password_entry, "changed", G_CALLBACK (pppoe_verify), info);

	info->applet = applet;
	info->context = context;
	info->connection = g_object_ref (connection);
	info->active_connection = active_connection;

	return info;
}
pppoe_info_new (GladeXML *xml,
                NMApplet *applet,
                DBusGMethodInvocation *context,
                NMConnection *connection,
                NMActiveConnection *active_connection)
{
	NMPppoeInfo *info;

	info = g_new0 (NMPppoeInfo, 1);
	
	info->username_entry = GTK_ENTRY (glade_xml_get_widget (xml, "dsl_username"));
	g_signal_connect (info->username_entry, "changed", G_CALLBACK (pppoe_verify), info);

	info->service_entry = GTK_ENTRY (glade_xml_get_widget (xml, "dsl_service"));

	info->password_entry = GTK_ENTRY (glade_xml_get_widget (xml, "dsl_password"));
	g_signal_connect (info->password_entry, "changed", G_CALLBACK (pppoe_verify), info);

	info->applet = applet;
	info->context = context;
	info->connection = g_object_ref (connection);
	info->active_connection = active_connection;

	return info;
}