From 46f822abd0d09202146dca42e3d5ea16e76ad7da Mon Sep 17 00:00:00 2001 From: Ivan Dmitrievich Yartsev Date: Wed, 18 Mar 2026 15:25:51 +0600 Subject: [PATCH] Module installation shows installed modules --- source/ubinstall-gtk-components.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/source/ubinstall-gtk-components.c b/source/ubinstall-gtk-components.c index 89a5d11..e3a26ad 100644 --- a/source/ubinstall-gtk-components.c +++ b/source/ubinstall-gtk-components.c @@ -413,6 +413,23 @@ gboolean yon_software_insert(struct row_data *row_input){ } else { gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(row->InstallCheck),0); } + char *modules_param = config(modules_parameter); + if (modules_param&&!strcmp(modules_param,"auto")){ + int final_size; + config_str final = NULL; + for (int i=0;iname,",")){ + gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(row->InstallCheck),1); + gtk_widget_set_sensitive(row->InstallCheck,0); + } + if (!yon_char_is_empty(modules_param)) free(modules_param); return G_SOURCE_REMOVE; }