|
|
|
|
@ -147,6 +147,13 @@ void on_save_parameters(GtkWidget *self, template_saving_window *window){
|
|
|
|
|
free(final_command);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
if (window->type==YON_CONFIG_BOTH) {
|
|
|
|
|
if (template_config->load_mode==1){
|
|
|
|
|
yon_config_save_registered("system");
|
|
|
|
|
} else if (template_config->load_mode==0){
|
|
|
|
|
yon_config_save_registered("global");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
textdomain(template_ui_LocaleName);
|
|
|
|
|
if (window->type == YON_CONFIG_GLOBAL)
|
|
|
|
|
yon_ubl_status_box_render(GLOBAL_SAVE_SUCCESS_LABEL,BACKGROUND_IMAGE_SUCCESS_TYPE);
|
|
|
|
|
@ -183,7 +190,6 @@ template_saving_window *yon_save_proceed(char *path,YON_CONFIG_TYPE type, ...){
|
|
|
|
|
config_to_save="system";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
yon_config_set_status(0);
|
|
|
|
|
config_str config_compare=NULL;
|
|
|
|
|
int compare_size=0;
|
|
|
|
|
va_list args;
|
|
|
|
|
|