|
|
|
@ -38,9 +38,15 @@ void yon_interface_update(main_window *widgets){
|
|
|
|
if (!yon_char_is_empty(domain)){
|
|
|
|
if (!yon_char_is_empty(domain)){
|
|
|
|
gtk_entry_set_text(GTK_ENTRY(widgets->DomainEntry),domain);
|
|
|
|
gtk_entry_set_text(GTK_ENTRY(widgets->DomainEntry),domain);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
{
|
|
|
|
char *config_locale = config(locale_parameter);
|
|
|
|
char *config_locale = config(locale_parameter);
|
|
|
|
char *config_languages = config(language_parameter);
|
|
|
|
char *config_languages = config(language_parameter);
|
|
|
|
|
|
|
|
if (yon_char_is_empty(config_locale)||yon_config_check_ignore(locale_parameter)){
|
|
|
|
|
|
|
|
gtk_switch_set_active(GTK_SWITCH(widgets->LocaleDefaultSwitch),1);
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
gtk_switch_set_active(GTK_SWITCH(widgets->LocaleDefaultSwitch),0);
|
|
|
|
|
|
|
|
}
|
|
|
|
int parsed_param_size;
|
|
|
|
int parsed_param_size;
|
|
|
|
config_str parsed_param = yon_char_parse(config_locale,&parsed_param_size,",");
|
|
|
|
config_str parsed_param = yon_char_parse(config_locale,&parsed_param_size,",");
|
|
|
|
GtkTreeIter iter;
|
|
|
|
GtkTreeIter iter;
|
|
|
|
|