hermet pushed a commit to branch master. http://git.enlightenment.org/tools/enventor.git/commit/?id=607f54ae87819300091802f57d58813e5f705d66
commit 607f54ae87819300091802f57d58813e5f705d66 Author: ChunEon Park <[email protected]> Date: Wed Aug 13 22:04:51 2014 +0900 template: insert image parts not only live edit mode. --- src/bin/template.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/bin/template.c b/src/bin/template.c index f213f3a..28f575b 100644 --- a/src/bin/template.c +++ b/src/bin/template.c @@ -83,10 +83,7 @@ internal_template_part_insert(edit_data *ed, Template_Part_Insert_Type insert_type, const Eina_Stringshare *group_name) { - if (type == EDJE_PART_TYPE_NONE) return; - if ((type == EDJE_PART_TYPE_IMAGE) && - (insert_type == TEMPLATE_PART_INSERT_LIVE_EDIT)) - image_description_add(ed); + if (type == EDJE_PART_TYPE_IMAGE) image_description_add(ed); Evas_Object *edit_entry = edit_entry_get(ed); int cursor_pos = template_part_insert_cursor_pos_set(ed, insert_type, @@ -211,7 +208,6 @@ template_part_insert(edit_data *ed, Edje_Part_Type type) 0.25, 0.25, 0.75, 0.75, NULL); } - void template_insert(edit_data *ed) { --
