From e4b160225b6363c975ea8f6c3b838cfdb39d4df4 Mon Sep 17 00:00:00 2001 From: Ivan Dmitrievich Yartsev Date: Mon, 2 Mar 2026 13:12:43 +0600 Subject: [PATCH] Removed unused glade file --- gresource.xml | 1 - source/CMakeLists.txt | 1 - source/ubinstall-gtk-keyboard.c | 1 + source/ubinstall-gtk.h | 1 - ubinstall-gtk-keyboard.glade | 164 -------------------------------- 5 files changed, 1 insertion(+), 167 deletions(-) delete mode 100644 ubinstall-gtk-keyboard.glade diff --git a/gresource.xml b/gresource.xml index 27a572a..8c06030 100644 --- a/gresource.xml +++ b/gresource.xml @@ -3,7 +3,6 @@ ubinstall-gtk.glade ubinstall-gtk-language.glade - ubinstall-gtk-keyboard.glade ubinstall-gtk-log-view.glade ubinstall-gtk-warning.glade ubinstall-gtk-user.glade diff --git a/source/CMakeLists.txt b/source/CMakeLists.txt index 5117240..6b070d8 100644 --- a/source/CMakeLists.txt +++ b/source/CMakeLists.txt @@ -48,7 +48,6 @@ add_custom_target(GLADE ubinstall-gtk.glade) set(DEPENDFILES ../ubinstall-gtk.glade ../ubinstall-gtk-language.glade - ../ubinstall-gtk-keyboard.glade ../ubinstall-gtk-log-view.glade ../ubinstall-gtk-warning.glade ../ubinstall-gtk-user.glade diff --git a/source/ubinstall-gtk-keyboard.c b/source/ubinstall-gtk-keyboard.c index 3492b9a..9ee5753 100644 --- a/source/ubinstall-gtk-keyboard.c +++ b/source/ubinstall-gtk-keyboard.c @@ -233,6 +233,7 @@ gboolean on_keyboard_search_func(GtkTreeModel *model, gint ,const char *key, Gtk } layouts_window *yon_layouts_window_new(){ + textdomain(LocaleName); GtkBuilder *builder = gtk_builder_new_from_resource(glade_layouts_path); layouts_window *window = malloc(sizeof(layouts_window)); memset(window,0,sizeof(layouts_window)); diff --git a/source/ubinstall-gtk.h b/source/ubinstall-gtk.h index fae28b7..47a38e5 100755 --- a/source/ubinstall-gtk.h +++ b/source/ubinstall-gtk.h @@ -20,7 +20,6 @@ #define _(String) gettext(String) #define glade_path "/com/ublinux/ui/ubinstall-gtk.glade" -#define glade_path_ubinstall_keyboard "/com/ublinux/ui/ubinstall-gtk-keyboard.glade" #define glade_path_ubinstall_language "/com/ublinux/ui/ubinstall-gtk-language.glade" #define glade_path_network_info "/com/ublinux/ui/ubinstall-gtk-network-box.glade" #define glade_path_log_view "/com/ublinux/ui/ubinstall-gtk-log-view.glade" diff --git a/ubinstall-gtk-keyboard.glade b/ubinstall-gtk-keyboard.glade deleted file mode 100644 index f61ae10..0000000 --- a/ubinstall-gtk-keyboard.glade +++ /dev/null @@ -1,164 +0,0 @@ - - - - - - - 200 - 400 - False - True - 800 - com.ublinux.ubinstall-gtk - - - True - False - vertical - 5 - - - True - False - vertical - - - - - - False - True - 0 - - - - - True - False - 5 - 5 - 5 - 5 - 5 - vertical - 5 - - - True - True - in - - - True - True - treeviewcolumn1 - 2 - - - - - - Chosen - - - - 2 - 3 - - - - - - - Id - True - 0 - - - - 0 - - - - - - - Layout - - - - 1 - - - - - - - - - True - True - 1 - - - - - True - True - 1 - - - - - - - True - False - - - True - False - Keyboard layout language - - - - - - - - True - False - 32 - com.ublinux.ubinstall-gtk - - - - - Cancel - True - True - True - - - 1 - - - - - Ok - True - True - True - - - end - 2 - - - - - - -