|
|
|
@ -196,7 +196,10 @@ void yon_set_locales_list(main_window *widgets){
|
|
|
|
if (!yon_char_is_empty(config_code)){
|
|
|
|
if (!yon_char_is_empty(config_code)){
|
|
|
|
char *temp = strstr(config_code,".");
|
|
|
|
char *temp = strstr(config_code,".");
|
|
|
|
if (temp) temp[0]='\0';
|
|
|
|
if (temp) temp[0]='\0';
|
|
|
|
if (!strcmp(config_code,compare_target)){
|
|
|
|
char *compare_lang_ab =yon_locale_get_parameter(compare_target,YON_LOCALE_LANG_AB);
|
|
|
|
|
|
|
|
temp = strstr(config_code,"_");
|
|
|
|
|
|
|
|
if (temp) temp[0]='\0';
|
|
|
|
|
|
|
|
if (!strcmp(config_code,compare_lang_ab)){
|
|
|
|
gtk_widget_realize(widgets->LanguagesTree);
|
|
|
|
gtk_widget_realize(widgets->LanguagesTree);
|
|
|
|
GtkTreePath *path = gtk_tree_model_get_path(GTK_TREE_MODEL(widgets->InstallerLanguageList),&iter);
|
|
|
|
GtkTreePath *path = gtk_tree_model_get_path(GTK_TREE_MODEL(widgets->InstallerLanguageList),&iter);
|
|
|
|
gtk_tree_view_scroll_to_cell(GTK_TREE_VIEW(widgets->LanguagesTree),path,0,0,0,0);
|
|
|
|
gtk_tree_view_scroll_to_cell(GTK_TREE_VIEW(widgets->LanguagesTree),path,0,0,0,0);
|
|
|
|
|