elm_entry: use layout text/content aliases when text_set/get content_set/get/unset
authorSungtaek Hong <sth253.hong@samsung.com>
Thu, 29 Jun 2017 10:32:19 +0000 (19:32 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Fri, 30 Jun 2017 05:37:54 +0000 (14:37 +0900)
commit82a955be902ba4afd4cb0f0fbbaf46c1f2208155
tree6101d7ae18573512343841f6375052c0b50f069d
parent9452a4ac497100ecc71eca5f4a37cfc655b45a53
elm_entry: use layout text/content aliases when text_set/get content_set/get/unset

Summary:
- elm_entry has elm.guide text part and it can be set by "guide".
- However when using text_aliases_get, this cannot be found.
- Add elm_obj_elm_layout_part_aliasing_eval() internal APIs to make entry
  use proper aliases.

Test Plan:
1. Run elementary test
           2. Observe search entry has guide text with "guide" part.
           3. Run Entry 8.
           4. Observe "elm.guide" part also works.
           5. Observe "icon" and "end" part works.

Reviewers: id213sin, herdsman, jpeg

Reviewed By: jpeg

Subscribers: conr2d, cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D4962
src/lib/elementary/elm_entry.c
src/lib/elementary/elm_entry.eo
src/lib/elementary/elm_layout.c
src/lib/elementary/elm_widget.h