Fixed dialog confirmation accept check

pull/46/head
parent 08004e62ec
commit 06335b70b8

@ -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 {

Loading…
Cancel
Save