From 3c866e8a4d4737450e563e390c8a910b47c48781 Mon Sep 17 00:00:00 2001 From: Ivan Dmitrievich Yartsev Date: Wed, 8 Apr 2026 15:52:58 +0600 Subject: [PATCH] Fixed main components saving; Fixed startup services --- source/ubinstall-gtk-components.c | 2 +- source/ubinstall-gtk-startup-services.c | 2 +- ubinstall-gtk-os-row.glade | 4 ++++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/source/ubinstall-gtk-components.c b/source/ubinstall-gtk-components.c index 413b5f5..b1e1723 100644 --- a/source/ubinstall-gtk-components.c +++ b/source/ubinstall-gtk-components.c @@ -159,7 +159,7 @@ int yon_os_components_save(main_window *widgets){ char *final = yon_char_parsed_to_string(modules,size,","); yon_config_register(modules_parameter,modules_parameter_command,final); } else { - // yon_config_remove_by_key(modules_parameter); + yon_config_register(modules_parameter,modules_parameter_command,"none"); if(main_config.configure_mode) yon_ubl_status_box_spawn(GTK_CONTAINER(widgets->StatusBox),MAIN_COMPONENTS_ALL_SELECTED_LABEL,5,BACKGROUND_IMAGE_INFO_TYPE); else diff --git a/source/ubinstall-gtk-startup-services.c b/source/ubinstall-gtk-startup-services.c index 94cadcd..2750dd2 100644 --- a/source/ubinstall-gtk-startup-services.c +++ b/source/ubinstall-gtk-startup-services.c @@ -65,7 +65,7 @@ void yon_startup_services_init(main_window *widgets){ config_str parsed = yon_char_parse(services[i],&parsed_size,";"); if (parsed_size&&!yon_char_is_empty(parsed[0])){ gtk_list_store_append(widgets->StartupList,&iter); - gtk_list_store_set(widgets->StartupList,&iter,0,1,1,parsed[0],2,yon_char_return_if_exist(parsed[1],""),3,yon_char_return_if_exist(_(parsed[2]),""),-1); + gtk_list_store_set(widgets->StartupList,&iter,0,1,1,yon_char_return_if_exist(parsed[1],""),2,parsed[0],3,yon_char_return_if_exist(_(parsed[2]),""),-1); } } diff --git a/ubinstall-gtk-os-row.glade b/ubinstall-gtk-os-row.glade index a706300..5f92d2c 100644 --- a/ubinstall-gtk-os-row.glade +++ b/ubinstall-gtk-os-row.glade @@ -47,8 +47,12 @@ True False 7 + + + + 22 True False center -- 2.35.1