From 2da9386f8a3c802383b6b67acf01ee993c913c4d Mon Sep 17 00:00:00 2001 From: Ivan Dmitrievich Yartsev Date: Fri, 28 Nov 2025 15:04:02 +0600 Subject: [PATCH] Locale names changed --- source/ubinstall-gtk-keyboard.c | 1 + source/ubinstall-gtk-region.c | 10 +++++++++- ubinstall-gtk-language.glade | 6 +++++- 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/source/ubinstall-gtk-keyboard.c b/source/ubinstall-gtk-keyboard.c index 2ca7d6e..01c4ff9 100644 --- a/source/ubinstall-gtk-keyboard.c +++ b/source/ubinstall-gtk-keyboard.c @@ -211,6 +211,7 @@ void on_language_clicked(GtkWidget *, main_window *widgets){ yon_dictionary_add_or_create_if_exists_with_data(dict,"widgets",widgets); yon_dictionary_add_or_create_if_exists_with_data(dict,"window",window); g_signal_connect(G_OBJECT(window->SaveButton),"clicked",G_CALLBACK(on_language_window_accept),dict); + gtk_tree_view_column_clicked(gtk_tree_view_get_column(GTK_TREE_VIEW(window->LanguagesTree),0)); gtk_widget_show(window->MainWindow); } diff --git a/source/ubinstall-gtk-region.c b/source/ubinstall-gtk-region.c index b4a8dc6..9a467d8 100644 --- a/source/ubinstall-gtk-region.c +++ b/source/ubinstall-gtk-region.c @@ -83,10 +83,18 @@ void yon_region_init(main_window *widgets){ parsed = yon_locale_get_all_codes(&size); textdomain(LOCALES_DOMAIN_NAME); for (int i=0;iLanguagesList,&iter); - gtk_list_store_set(widgets->LanguagesList,&iter,0,0,1,_(lang_name),2,parsed[i],-1); + gtk_list_store_set(widgets->LanguagesList,&iter,0,0,1,full_name,2,parsed[i],-1); } } textdomain(LocaleName); diff --git a/ubinstall-gtk-language.glade b/ubinstall-gtk-language.glade index 22cdb91..0fae60e 100644 --- a/ubinstall-gtk-language.glade +++ b/ubinstall-gtk-language.glade @@ -1,5 +1,5 @@ - + @@ -74,11 +74,15 @@ True liststore1 False + 1 + 1 + True + 1