hermet pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=8832a5f11c2d350e94cf5605f4951411570d9404
commit 8832a5f11c2d350e94cf5605f4951411570d9404 Author: ChunEon Park <her...@hermet.pe.kr> Date: Tue Mar 10 16:56:22 2015 +0900 layout: here default content alias can be acceptable. elm_object_content_set() for layout will be working. @fix. --- src/lib/elm_layout.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/lib/elm_layout.c b/src/lib/elm_layout.c index 5c3e01b..6e3ccb2 100644 --- a/src/lib/elm_layout.c +++ b/src/lib/elm_layout.c @@ -34,6 +34,12 @@ static const Elm_Layout_Part_Alias_Description _text_aliases[] = {NULL, NULL} }; +static const Elm_Layout_Part_Alias_Description _content_aliases[] = +{ + {"default", "elm.swallow.content"}, + {NULL, NULL} +}; + /* these are data operated by layout's class functions internally, and * should not be messed up by inhering classes */ typedef struct _Elm_Layout_Sub_Object_Data Elm_Layout_Sub_Object_Data; @@ -588,7 +594,7 @@ _elm_layout_text_aliases_get(Eo *obj EINA_UNUSED, Elm_Layout_Smart_Data *_pd EIN EOLIAN static const Elm_Layout_Part_Alias_Description* _elm_layout_content_aliases_get(Eo *obj EINA_UNUSED, Elm_Layout_Smart_Data *_pd EINA_UNUSED) { - return NULL; + return _content_aliases; } EOLIAN static Eina_Bool --