hermet pushed a commit to branch enventor-0.3. http://git.enlightenment.org/tools/enventor.git/commit/?id=f113552e4307f827a5a5b06707f27b31968681b9
commit f113552e4307f827a5a5b06707f27b31968681b9 Author: Mykyta Biliavskyi <m.biliavs...@samsung.com> Date: Fri Aug 8 18:45:35 2014 +0900 menu: Update window title on creation empty project. Summary: empty file creation changes window title. Sets filepath into title. @fix Reviewers: Hermet Reviewed By: Hermet Projects: #enventor Differential Revision: https://phab.enlightenment.org/D1287 --- src/bin/edc_editor.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/bin/edc_editor.c b/src/bin/edc_editor.c index efb7957..a7d999d 100644 --- a/src/bin/edc_editor.c +++ b/src/bin/edc_editor.c @@ -1044,6 +1044,8 @@ edit_edc_read(edit_data *ed, const char *file_path) strbuf_line = eina_strbuf_new(); if (!strbuf_line) goto err; + base_title_set(file_path); + utf8_edit = eina_file_map_all(file, EINA_FILE_REMOVE); if (!utf8_edit) goto err; @@ -1075,7 +1077,6 @@ edit_edc_read(edit_data *ed, const char *file_path) parser_first_group_name_get(ed->pd, ed->en_edit); stats_edc_group_update(group_name); - base_title_set(file_path); ecore_animator_add(syntax_color_timer_cb, ed); --