Rich. -- Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/ Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 03798903
diff -r e8d37fb527c2 examples/gvncviewer.c --- a/examples/gvncviewer.c Tue Jan 15 13:28:03 2008 +0000 +++ b/examples/gvncviewer.c Tue Jan 15 15:33:39 2008 +0000 @@ -159,6 +159,8 @@ static void vnc_credential(GtkWidget *vn 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); diff -r e8d37fb527c2 plugin/README --- a/plugin/gtk-vnc-plugin.c Tue Jan 15 13:28:03 2008 +0000 +++ b/plugin/gtk-vnc-plugin.c Tue Jan 15 15:33:39 2008 +0000 @@ -120,6 +122,8 @@ vnc_auth_credential (GtkWidget *vnc, GVa 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);
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature