Mercurial > pidgin
diff src/gtkaccount.c @ 11986:bfbb1798535e
[gaim-migrate @ 14279]
Switch to using the unicode character 0x25cf instead of an asterisk as
our password masking character.
In the words of the great Christian Hammond, "By the way, isn't it
about time we replace the asterisk in masked entries with that unicode
character for the round filled circle ("?")? The asterisk is so 1980s."
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sat, 05 Nov 2005 23:42:35 +0000 |
parents | 41d84ac57cb6 |
children | 831e52ceddf3 |
line wrap: on
line diff
--- a/src/gtkaccount.c Sat Nov 05 21:49:44 2005 +0000 +++ b/src/gtkaccount.c Sat Nov 05 23:42:35 2005 +0000 @@ -822,6 +822,7 @@ /* Password */ dialog->password_entry = gtk_entry_new(); gtk_entry_set_visibility(GTK_ENTRY(dialog->password_entry), FALSE); + gtk_entry_set_invisible_char(GTK_ENTRY(dialog->password_entry), GAIM_INVISIBLE_CHAR); dialog->password_box = add_pref_box(dialog, vbox, _("Password:"), dialog->password_entry); @@ -1087,7 +1088,10 @@ entry = gtk_entry_new(); if (gaim_account_option_get_masked(option)) + { gtk_entry_set_visibility(GTK_ENTRY(entry), FALSE); + gtk_entry_set_invisible_char(GTK_ENTRY(entry), GAIM_INVISIBLE_CHAR); + } if (str_value != NULL) gtk_entry_set_text(GTK_ENTRY(entry), str_value); @@ -1310,6 +1314,7 @@ /* Password */ dialog->proxy_pass_entry = gtk_entry_new(); gtk_entry_set_visibility(GTK_ENTRY(dialog->proxy_pass_entry), FALSE); + gtk_entry_set_invisible_char(GTK_ENTRY(dialog->proxy_pass_entry), GAIM_INVISIBLE_CHAR); add_pref_box(dialog, vbox2, _("Pa_ssword:"), dialog->proxy_pass_entry); if (dialog->account != NULL &&