forked from enlightenment/enventor
main: Create and display a new edj file when edc is edited then saved
Summary: I don't know exactly why but the file_modified_cb is not called on windows so the edj file is not changing. @fix
This commit is contained in:
parent
aaada3f32f
commit
c7d840f154
|
@ -605,7 +605,19 @@ ctrl_func(app_data *ad, const char *key)
|
|||
//Save
|
||||
if (!strcmp(key, "s") || !strcmp(key, "S"))
|
||||
{
|
||||
file_mgr_edc_save();
|
||||
config_edc_path_set(config_edc_path_get());
|
||||
|
||||
Eina_List *list = eina_list_append(NULL, config_edj_path_get());
|
||||
enventor_object_path_set(ad->enventor, ENVENTOR_OUT_EDJ, list);
|
||||
eina_list_free(list);
|
||||
|
||||
if (!enventor_object_save(ad->enventor, config_edc_path_get()))
|
||||
{
|
||||
EINA_LOG_ERR("Could not save the file.");
|
||||
}
|
||||
enventor_object_file_set(ad->enventor, config_edc_path_get());
|
||||
file_mgr_reset();
|
||||
//file_mgr_edc_save();
|
||||
return ECORE_CALLBACK_DONE;
|
||||
}
|
||||
//Delete Line
|
||||
|
|
Loading…
Reference in New Issue