Mercurial > pidgin
comparison 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 |
comparison
equal
deleted
inserted
replaced
11985:41d84ac57cb6 | 11986:bfbb1798535e |
---|---|
820 | 820 |
821 | 821 |
822 /* Password */ | 822 /* Password */ |
823 dialog->password_entry = gtk_entry_new(); | 823 dialog->password_entry = gtk_entry_new(); |
824 gtk_entry_set_visibility(GTK_ENTRY(dialog->password_entry), FALSE); | 824 gtk_entry_set_visibility(GTK_ENTRY(dialog->password_entry), FALSE); |
825 gtk_entry_set_invisible_char(GTK_ENTRY(dialog->password_entry), GAIM_INVISIBLE_CHAR); | |
825 dialog->password_box = add_pref_box(dialog, vbox, _("Password:"), | 826 dialog->password_box = add_pref_box(dialog, vbox, _("Password:"), |
826 dialog->password_entry); | 827 dialog->password_entry); |
827 | 828 |
828 /* Alias */ | 829 /* Alias */ |
829 dialog->alias_entry = gtk_entry_new(); | 830 dialog->alias_entry = gtk_entry_new(); |
1085 gaim_account_option_get_default_string(option)); | 1086 gaim_account_option_get_default_string(option)); |
1086 } | 1087 } |
1087 | 1088 |
1088 entry = gtk_entry_new(); | 1089 entry = gtk_entry_new(); |
1089 if (gaim_account_option_get_masked(option)) | 1090 if (gaim_account_option_get_masked(option)) |
1091 { | |
1090 gtk_entry_set_visibility(GTK_ENTRY(entry), FALSE); | 1092 gtk_entry_set_visibility(GTK_ENTRY(entry), FALSE); |
1093 gtk_entry_set_invisible_char(GTK_ENTRY(entry), GAIM_INVISIBLE_CHAR); | |
1094 } | |
1091 | 1095 |
1092 if (str_value != NULL) | 1096 if (str_value != NULL) |
1093 gtk_entry_set_text(GTK_ENTRY(entry), str_value); | 1097 gtk_entry_set_text(GTK_ENTRY(entry), str_value); |
1094 | 1098 |
1095 title = g_strdup_printf("%s:", | 1099 title = g_strdup_printf("%s:", |
1308 add_pref_box(dialog, vbox2, _("_Username:"), dialog->proxy_user_entry); | 1312 add_pref_box(dialog, vbox2, _("_Username:"), dialog->proxy_user_entry); |
1309 | 1313 |
1310 /* Password */ | 1314 /* Password */ |
1311 dialog->proxy_pass_entry = gtk_entry_new(); | 1315 dialog->proxy_pass_entry = gtk_entry_new(); |
1312 gtk_entry_set_visibility(GTK_ENTRY(dialog->proxy_pass_entry), FALSE); | 1316 gtk_entry_set_visibility(GTK_ENTRY(dialog->proxy_pass_entry), FALSE); |
1317 gtk_entry_set_invisible_char(GTK_ENTRY(dialog->proxy_pass_entry), GAIM_INVISIBLE_CHAR); | |
1313 add_pref_box(dialog, vbox2, _("Pa_ssword:"), dialog->proxy_pass_entry); | 1318 add_pref_box(dialog, vbox2, _("Pa_ssword:"), dialog->proxy_pass_entry); |
1314 | 1319 |
1315 if (dialog->account != NULL && | 1320 if (dialog->account != NULL && |
1316 (proxy_info = gaim_account_get_proxy_info(dialog->account)) != NULL) { | 1321 (proxy_info = gaim_account_get_proxy_info(dialog->account)) != NULL) { |
1317 | 1322 |