|
|
|
@ -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);
|
|
|
|
config_str result = yon_config_load(service_check_active_command(service_name),&size);
|
|
|
|
yon_char_remove_last_symbol(result[0],'\n');
|
|
|
|
yon_char_remove_last_symbol(result[0],'\n');
|
|
|
|
if (size>0&&!strcmp(result[0],"active")){
|
|
|
|
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);
|
|
|
|
gtk_list_store_set(GTK_LIST_STORE(model),&iter,4,0,-1);
|
|
|
|
|
|
|
|
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
|