newfile: when a new edc file is opened create a new edj file in tmp directory

This commit is contained in:
michelle legrand 2015-02-11 17:09:05 +01:00 committed by Nicolas Aguirre
parent 174a2579b8
commit b0cafcefe2
1 changed files with 6 additions and 0 deletions

View File

@ -56,6 +56,12 @@ newfile_set(Evas_Object *enventor, Eina_Bool template_new)
EINA_LOG_ERR("Cannot find file! \"%s\"", buf);
return;
}
config_edc_path_set(path);
Eina_List *list = eina_list_append(NULL, config_edj_path_get());
enventor_object_path_set(enventor, ENVENTOR_OUT_EDJ, list);
eina_list_free(list);
enventor_object_file_set(enventor, path);
base_title_set(path);
file_mgr_reset();