From 54eee56b60af29ccf9878d6d6bb7d95f7ed5475d Mon Sep 17 00:00:00 2001 From: Ivan Dmitrievich Yartsev Date: Mon, 16 Mar 2026 18:25:32 +0600 Subject: [PATCH] Added autorun services and apps sorting --- source/ubinstall-gtk-startup-apps.c | 9 ++++++--- source/ubinstall-gtk-startup-services.c | 5 ++++- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/source/ubinstall-gtk-startup-apps.c b/source/ubinstall-gtk-startup-apps.c index d150db4..22d35d2 100644 --- a/source/ubinstall-gtk-startup-apps.c +++ b/source/ubinstall-gtk-startup-apps.c @@ -45,10 +45,13 @@ void yon_startup_apps_setup(main_window *widgets){ GtkTreeIter iter; gtk_list_store_clear(widgets->StartupAppsList); int size; - config_str apps = yon_resource_open_file(apps_list_path,&size); - for (int i=1;iStartupAppsList,&iter); gtk_list_store_set(widgets->StartupAppsList,&iter,0,0,1,parsed[0],2,yon_char_return_if_exist(parsed[1],""),3,yon_char_return_if_exist(_(parsed[2]),""),-1); diff --git a/source/ubinstall-gtk-startup-services.c b/source/ubinstall-gtk-startup-services.c index fbc1bd7..df22c6b 100644 --- a/source/ubinstall-gtk-startup-services.c +++ b/source/ubinstall-gtk-startup-services.c @@ -54,7 +54,10 @@ void yon_startup_services_setup(main_window *widgets){ gtk_list_store_clear(widgets->StartupList); int size; config_str services = yon_resource_open_file(services_list_path,&size); - for (int i=1;i