From cd0dc1ea9ecf23385a16b3ddf1df9d2e96fb7590 Mon Sep 17 00:00:00 2001 From: Ivan Yarcev Date: Fri, 8 Aug 2025 18:23:50 +0600 Subject: [PATCH] Fixed added startup services were not chosen --- source/ubinstall-gtk-startup-services.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/ubinstall-gtk-startup-services.c b/source/ubinstall-gtk-startup-services.c index 411a235..2355619 100644 --- a/source/ubinstall-gtk-startup-services.c +++ b/source/ubinstall-gtk-startup-services.c @@ -116,7 +116,7 @@ void on_startup_add_accept(GtkWidget *self, main_window *widgets){ } GtkTreeIter iter; gtk_list_store_append(widgets->StartupList,&iter); - gtk_list_store_set(widgets->StartupList,&iter,1,unit,2,service,3,description,4,1,-1); + gtk_list_store_set(widgets->StartupList,&iter,0,1,1,unit,2,service,3,description,4,1,-1); on_subwindow_close(self); } @@ -133,7 +133,7 @@ void on_startup_edit_accept(GtkWidget *self, main_window *widgets){ yon_ubl_status_highlight_incorrect(window->ServiceEntry); return; } - gtk_list_store_set(widgets->StartupList,&iter,1,unit,2,service,3,description,4,1,-1); + gtk_list_store_set(widgets->StartupList,&iter,0,1,1,unit,2,service,3,description,4,1,-1); } on_subwindow_close(self); }