From 0ecc7643f55a113a49791aa75525f4491dbbcc73 Mon Sep 17 00:00:00 2001 From: Ivan Yarcev Date: Mon, 2 Sep 2024 11:32:41 +0600 Subject: [PATCH] Fixed user folder deletion time --- source/ubl-settings-usergroups.c | 2 -- source/ubl-settings-usergroups.h | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/source/ubl-settings-usergroups.c b/source/ubl-settings-usergroups.c index 6c09e3c..b80d722 100644 --- a/source/ubl-settings-usergroups.c +++ b/source/ubl-settings-usergroups.c @@ -416,7 +416,6 @@ void on_save_done(main_window *widgets, config_str output, int size){ void on_config_save(GtkWidget *self, main_window *widgets){ - yon_accept_changes(); yon_samba_sync_proceed(); main_config.save_config=2; template_saving_window *window = yon_save_proceed(NULL,YON_CONFIG_BOTH,config_get_command("global"),NULL); @@ -507,7 +506,6 @@ void on_config_local_save(GtkWidget *self, main_window *widgets){ free(key); free(value); } - yon_accept_changes(); yon_samba_sync_proceed(); template_saving_window *window = yon_save_proceed("system",YON_CONFIG_LOCAL,config_get_command("system"),NULL); if (window){ diff --git a/source/ubl-settings-usergroups.h b/source/ubl-settings-usergroups.h index 4b9ea8a..bc99321 100644 --- a/source/ubl-settings-usergroups.h +++ b/source/ubl-settings-usergroups.h @@ -131,7 +131,7 @@ #define GROUPADD_parameter_command yon_char_unite("GROUPADD[",target,"]",NULL) typedef char* string; -string version_application = "2.2"; +string version_application; char *local;