Fixed user folder deletion time

pull/181/head
parent 99c1d51b31
commit 0ecc7643f5

@ -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){ void on_config_save(GtkWidget *self, main_window *widgets){
yon_accept_changes();
yon_samba_sync_proceed(); yon_samba_sync_proceed();
main_config.save_config=2; main_config.save_config=2;
template_saving_window *window = yon_save_proceed(NULL,YON_CONFIG_BOTH,config_get_command("global"),NULL); 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(key);
free(value); free(value);
} }
yon_accept_changes();
yon_samba_sync_proceed(); yon_samba_sync_proceed();
template_saving_window *window = yon_save_proceed("system",YON_CONFIG_LOCAL,config_get_command("system"),NULL); template_saving_window *window = yon_save_proceed("system",YON_CONFIG_LOCAL,config_get_command("system"),NULL);
if (window){ if (window){

@ -131,7 +131,7 @@
#define GROUPADD_parameter_command yon_char_unite("GROUPADD[",target,"]",NULL) #define GROUPADD_parameter_command yon_char_unite("GROUPADD[",target,"]",NULL)
typedef char* string; typedef char* string;
string version_application = "2.2"; string version_application;
char *local; char *local;

Loading…
Cancel
Save