From f9e586ed540c2a9f848947e55a5d04ffa95c4c26 Mon Sep 17 00:00:00 2001 From: Ivan Dmitrievich Yartsev Date: Mon, 19 Jan 2026 17:00:04 +0000 Subject: [PATCH] Fixed os components loading --- source/ubinstall-gtk-components.c | 2 +- ubinstall-gtk.glade | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/source/ubinstall-gtk-components.c b/source/ubinstall-gtk-components.c index b75dab7..0f6034d 100644 --- a/source/ubinstall-gtk-components.c +++ b/source/ubinstall-gtk-components.c @@ -124,7 +124,7 @@ gboolean yon_os_component_insert(struct row_data *row_input){ gtk_list_box_insert(GTK_LIST_BOX(widgets->OSSoftwareListBox),row->row,-1); yon_os_row_setup(row,row_input->name,row_input->version,row_input->tags,row_input->description); char *modules = config(modules_parameter); - if (yon_char_is_empty(modules)){ + if (yon_char_is_empty(modules)||yon_char_check_element(modules,row_input->name,",")||!strcmp(modules,"auto")){ gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(row->InstallCheck),1); } return G_SOURCE_REMOVE; diff --git a/ubinstall-gtk.glade b/ubinstall-gtk.glade index e997237..41ecd93 100644 --- a/ubinstall-gtk.glade +++ b/ubinstall-gtk.glade @@ -13055,6 +13055,7 @@ separately into the selected partition. True False Encryption password: + 0 False