Fixed indentation, changed invisible character for password entries

This commit is contained in:
Jesse van den Kieboom 2005-11-15 11:57:19 +00:00
parent 9afd05968e
commit 434737cae1
1 changed files with 61 additions and 59 deletions

View File

@ -34,70 +34,70 @@ typedef struct _GmWorldPropertiesDialog {
} GmWorldPropertiesDialog;
static const encoding encodings[] = {
{"ISO-8859-1", N_("Western")},
{"ISO-8859-2", N_("Central European")},
{"ISO-8859-3", N_("South European")},
{"ISO-8859-4", N_("Baltic")},
{"ISO-8859-5", N_("Cyrillic")},
{"ISO-8859-6", N_("Arabic")},
{"ISO-8859-7", N_("Greek")},
{"ISO-8859-8", N_("Hebrew Visual")},
{"ISO-8859-8-I", N_("Hebrew")},
{"ISO-8859-9", N_("Turkish")},
{"ISO-8859-10", N_("Nordic")},
{"ISO-8859-13", N_("Baltic")},
{"ISO-8859-14", N_("Celtic")},
{"ISO-8859-15", N_("Western")},
{"ISO-8859-16", N_("Romanian")},
{"UTF-7", N_("Unicode")},
{"UTF-8", N_("Unicode")},
{"UTF-16", N_("Unicode")},
{"UCS-2", N_("Unicode")},
{"UCS-4", N_("Unicode")},
{"ARMSCII-8", N_("Armenian")},
{"BIG5", N_("Chinese Traditional")},
{"BIG5-HKSCS", N_("Chinese Traditional")},
{"CP866", N_("Cyrillic/Russian")},
{"ISO-8859-1", N_("Western")},
{"ISO-8859-2", N_("Central European")},
{"ISO-8859-3", N_("South European")},
{"ISO-8859-4", N_("Baltic")},
{"ISO-8859-5", N_("Cyrillic")},
{"ISO-8859-6", N_("Arabic")},
{"ISO-8859-7", N_("Greek")},
{"ISO-8859-8", N_("Hebrew Visual")},
{"ISO-8859-8-I", N_("Hebrew")},
{"ISO-8859-9", N_("Turkish")},
{"ISO-8859-10", N_("Nordic")},
{"ISO-8859-13", N_("Baltic")},
{"ISO-8859-14", N_("Celtic")},
{"ISO-8859-15", N_("Western")},
{"ISO-8859-16", N_("Romanian")},
{"UTF-7", N_("Unicode")},
{"UTF-8", N_("Unicode")},
{"UTF-16", N_("Unicode")},
{"UCS-2", N_("Unicode")},
{"UCS-4", N_("Unicode")},
{"ARMSCII-8", N_("Armenian")},
{"BIG5", N_("Chinese Traditional")},
{"BIG5-HKSCS", N_("Chinese Traditional")},
{"CP866", N_("Cyrillic/Russian")},
{"EUC-JP", N_("Japanese")},
{"EUC-KR", N_("Korean")},
{"EUC-TW", N_("Chinese Traditional")},
{"GB18030", N_("Chinese Simplified")},
{"GB2312", N_("Chinese Simplified")},
{"GBK", N_("Chinese Simplified")},
{"GEORGIAN-ACADEMY", N_("Georgian")},
{"HZ", N_("Chinese Simplified")},
{"EUC-JP", N_("Japanese")},
{"EUC-KR", N_("Korean")},
{"EUC-TW", N_("Chinese Traditional")},
{"GB18030", N_("Chinese Simplified")},
{"GB2312", N_("Chinese Simplified")},
{"GBK", N_("Chinese Simplified")},
{"GEORGIAN-ACADEMY", N_("Georgian")},
{"HZ", N_("Chinese Simplified")},
{"IBM850", N_("Western")},
{"IBM852", N_("Central European")},
{"IBM855", N_("Cyrillic")},
{"IBM857", N_("Turkish")},
{"IBM862", N_("Hebrew")},
{"IBM864", N_("Arabic")},
{"IBM850", N_("Western")},
{"IBM852", N_("Central European")},
{"IBM855", N_("Cyrillic")},
{"IBM857", N_("Turkish")},
{"IBM862", N_("Hebrew")},
{"IBM864", N_("Arabic")},
{"ISO-2022-JP", N_("Japanese")},
{"ISO-2022-KR", N_("Korean")},
{"ISO-IR-111", N_("Cyrillic")},
{"JOHAB", N_("Korean")},
{"KOI8R", N_("Cyrillic")},
{"KOI8-R", N_("Cyrillic")},
{"KOI8U", N_("Cyrillic/Ukrainian")},
{"ISO-2022-JP", N_("Japanese")},
{"ISO-2022-KR", N_("Korean")},
{"ISO-IR-111", N_("Cyrillic")},
{"JOHAB", N_("Korean")},
{"KOI8R", N_("Cyrillic")},
{"KOI8-R", N_("Cyrillic")},
{"KOI8U", N_("Cyrillic/Ukrainian")},
{"SHIFT_JIS", N_("Japanese")},
{"TCVN", N_("Vietnamese")},
{"TIS-620", N_("Thai")},
{"UHC", N_("Korean")},
{"VISCII", N_("Vietnamese")},
{"SHIFT_JIS", N_("Japanese")},
{"TCVN", N_("Vietnamese")},
{"TIS-620", N_("Thai")},
{"UHC", N_("Korean")},
{"VISCII", N_("Vietnamese")},
{"WINDOWS-1250", N_("Central European")},
{"WINDOWS-1251", N_("Cyrillic")},
{"WINDOWS-1252", N_("Western")},
{"WINDOWS-1253", N_("Greek")},
{"WINDOWS-1254", N_("Turkish")},
{"WINDOWS-1255", N_("Hebrew")},
{"WINDOWS-1256", N_("Arabic")},
{"WINDOWS-1257", N_("Baltic")},
{"WINDOWS-1258", N_("Vietnamese")}
{"WINDOWS-1250", N_("Central European")},
{"WINDOWS-1251", N_("Cyrillic")},
{"WINDOWS-1252", N_("Western")},
{"WINDOWS-1253", N_("Greek")},
{"WINDOWS-1254", N_("Turkish")},
{"WINDOWS-1255", N_("Hebrew")},
{"WINDOWS-1256", N_("Arabic")},
{"WINDOWS-1257", N_("Baltic")},
{"WINDOWS-1258", N_("Vietnamese")}
};
static GList *gm_world_properties_dialog_open = NULL;
@ -282,6 +282,8 @@ gm_world_properties_dialog_initialize(GmWorldPropertiesDialog *properties) {
"entry_player_name")), gm_options_get(options, "player_name"));
gtk_entry_set_text(GTK_ENTRY(gm_world_properties_dialog_widget(properties,
"entry_password")), gm_options_get(options, "password"));
gtk_entry_set_invisible_char(GTK_ENTRY(gm_world_properties_dialog_widget(
properties, "entry_password")), 0x25CF);
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(
gm_world_properties_dialog_widget(properties,
"check_button_auto_reconnect")),