|
|
|
@ -21,6 +21,13 @@ int yon_configuration_path_check(const char *path){
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
full_path = yon_char_new(path);
|
|
|
|
full_path = yon_char_new(path);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
if (!strstr(full_path,".")){
|
|
|
|
|
|
|
|
char *temp = yon_char_append(full_path,".ini");
|
|
|
|
|
|
|
|
free(full_path);
|
|
|
|
|
|
|
|
full_path = temp;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
if (access(full_path,F_OK)){
|
|
|
|
if (access(full_path,F_OK)){
|
|
|
|
dialog_confirmation_data *data = yon_confirmation_dialog_data_new();
|
|
|
|
dialog_confirmation_data *data = yon_confirmation_dialog_data_new();
|
|
|
|
data->action_text = homedir_create?CREATE_CONFIG_DIALOG_LABEL_HOMEDIR:CREATE_CONFIG_DIALOG_LABEL;
|
|
|
|
data->action_text = homedir_create?CREATE_CONFIG_DIALOG_LABEL_HOMEDIR:CREATE_CONFIG_DIALOG_LABEL;
|
|
|
|
|