diff options
author | ChunEon Park <hermet@hermet.pe.kr> | 2015-03-10 16:56:22 +0900 |
---|---|---|
committer | ChunEon Park <hermet@hermet.pe.kr> | 2015-03-10 16:56:22 +0900 |
commit | 8832a5f11c2d350e94cf5605f4951411570d9404 (patch) | |
tree | e8bd5f854f06a35d31fa5050e86ca851be18c3f1 | |
parent | d4eaee4eb97210ed153c161fc8b7d21967f61131 (diff) | |
download | elementary-8832a5f11c2d350e94cf5605f4951411570d9404.tar.gz |
layout: here default content alias can be acceptable.
elm_object_content_set() for layout will be working.
@fix.
-rw-r--r-- | src/lib/elm_layout.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/lib/elm_layout.c b/src/lib/elm_layout.c index 5c3e01b46..6e3ccb257 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 |