|
|
|
|
@ -249,10 +249,12 @@ void yon_load_proceed(YON_CONFIG_TYPE type){
|
|
|
|
|
case YON_CONFIG_CUSTOM:
|
|
|
|
|
char *path = NULL;
|
|
|
|
|
path=yon_custom_config_init(GTK_FILE_CHOOSER_ACTION_OPEN);
|
|
|
|
|
yon_char_remove_brackets(path);
|
|
|
|
|
if (!yon_char_is_empty(path)){
|
|
|
|
|
if ((access(path,0)==F_OK&&access(path,4)!=F_OK)){
|
|
|
|
|
if (yon_status_box_is_set()){
|
|
|
|
|
yon_ubl_status_box_render(ACCESS_DENIED_LABEL(path),BACKGROUND_IMAGE_FAIL_TYPE);
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
yon_config_clean();
|
|
|
|
|
|