|
|
|
@ -117,7 +117,9 @@ void on_config_load_custom(){
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void yon_load_proceed(YON_CONFIG_TYPE type){
|
|
|
|
void yon_load_proceed(YON_CONFIG_TYPE type){
|
|
|
|
yon_config_clean();
|
|
|
|
if (type!=YON_CONFIG_CUSTOM){
|
|
|
|
|
|
|
|
yon_config_clean();
|
|
|
|
|
|
|
|
}
|
|
|
|
if (!yon_char_is_empty(config_get_default_command))
|
|
|
|
if (!yon_char_is_empty(config_get_default_command))
|
|
|
|
yon_config_load_config(YON_CONFIG_DEFAULT,config_get_default_command,NULL);
|
|
|
|
yon_config_load_config(YON_CONFIG_DEFAULT,config_get_default_command,NULL);
|
|
|
|
if (type==YON_CONFIG_GLOBAL){
|
|
|
|
if (type==YON_CONFIG_GLOBAL){
|
|
|
|
@ -146,6 +148,7 @@ void yon_load_proceed(YON_CONFIG_TYPE type){
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
gtk_widget_destroy(dialog);
|
|
|
|
gtk_widget_destroy(dialog);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
yon_config_clean();
|
|
|
|
char *command = yon_config_get_custom_command(path);
|
|
|
|
char *command = yon_config_get_custom_command(path);
|
|
|
|
yon_config_load_config(type,command,NULL);
|
|
|
|
yon_config_load_config(type,command,NULL);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|