From 06335b70b826e77d99c83316fa246a48d87911df Mon Sep 17 00:00:00 2001 From: Ivan Yarcev Date: Thu, 11 Apr 2024 11:13:41 +0600 Subject: [PATCH] Fixed dialog confirmation accept check --- source/ubl-settings-services.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/ubl-settings-services.c b/source/ubl-settings-services.c index 938bf27..d65a3c6 100644 --- a/source/ubl-settings-services.c +++ b/source/ubl-settings-services.c @@ -472,7 +472,7 @@ void on_system_launch_clicked(GtkWidget *self, char *path, main_window *widgets) config_str result = yon_config_load(service_check_active_command(service_name),&size); yon_char_remove_last_symbol(result[0],'\n'); if (size>0&&!strcmp(result[0],"active")){ - if (yon_confirmation_dialog_call(widgets->Window,data)){ + if (yon_confirmation_dialog_call(widgets->Window,data)==GTK_RESPONSE_ACCEPT){ gtk_list_store_set(GTK_LIST_STORE(model),&iter,4,0,-1); } else {