13 lines
774 B
Diff
13 lines
774 B
Diff
diff -rup virt-viewer-0.0.2.orig/src/main.c virt-viewer-0.0.2.new/src/main.c
|
|
--- virt-viewer-0.0.2.orig/src/main.c 2008-01-11 17:30:23.000000000 -0500
|
|
+++ virt-viewer-0.0.2.new/src/main.c 2008-01-11 17:32:00.000000000 -0500
|
|
@@ -233,6 +233,8 @@ static void viewer_credential(GtkWidget
|
|
continue;
|
|
}
|
|
entry[row] = gtk_entry_new();
|
|
+ if (g_value_get_enum(cred) == VNC_DISPLAY_CREDENTIAL_PASSWORD)
|
|
+ gtk_entry_set_visibility(GTK_ENTRY(entry[row]), FALSE);
|
|
|
|
gtk_table_attach(GTK_TABLE(box), label[i], 0, 1, row, row+1, GTK_SHRINK, GTK_SHRINK, 3, 3);
|
|
gtk_table_attach(GTK_TABLE(box), entry[i], 1, 2, row, row+1, GTK_SHRINK, GTK_SHRINK, 3, 3);
|