some string fixes

This commit is contained in:
Martin Willi
2008-08-20 13:59:37 +00:00
parent 6368a58ffc
commit bdbf3c49fc
2 changed files with 2 additions and 2 deletions
@@ -138,7 +138,7 @@ int main (int argc, char *argv[])
} }
} }
printf("password\n%s\n", pass); printf("password\n%s\n", pass);
printf("\n\n", pass); printf("\n\n");
/* flush output, wait for input */ /* flush output, wait for input */
fflush(stdout); fflush(stdout);
fread(&buf, 1, sizeof(buf), stdin); fread(&buf, 1, sizeof(buf), stdin);
@@ -179,7 +179,7 @@ init_plugin_ui (StrongswanPluginUiWidget *self, NMConnection *connection, GError
if (!widget) if (!widget)
return FALSE; return FALSE;
gtk_combo_box_append_text (GTK_COMBO_BOX (widget), _("EAP")); gtk_combo_box_append_text (GTK_COMBO_BOX (widget), _("EAP"));
gtk_combo_box_append_text (GTK_COMBO_BOX (widget), _("PSK (insecure)")); gtk_combo_box_append_text (GTK_COMBO_BOX (widget), _("Preshared Key"));
value = g_hash_table_lookup (settings->data, "method"); value = g_hash_table_lookup (settings->data, "method");
if (value) { if (value) {
if (g_strcasecmp (value, "eap") == 0) { if (g_strcasecmp (value, "eap") == 0) {