yakov pushed a commit to branch master.

http://git.enlightenment.org/tools/erigo.git/commit/?id=95cf8bff8fa231ee6d3bb4cbff645430e4878621

commit 95cf8bff8fa231ee6d3bb4cbff645430e4878621
Author: Yakov Goldberg <yako...@samsung.com>
Date:   Tue Nov 24 18:12:21 2015 +0200

    Force Naviframe to be item container
    
    Need also define other containers
---
 src/lib/gui_widget.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/lib/gui_widget.c b/src/lib/gui_widget.c
index 95dcf38..f7bc4e0 100644
--- a/src/lib/gui_widget.c
+++ b/src/lib/gui_widget.c
@@ -1088,7 +1088,8 @@ wdg_new(Gui_Context *ctx, const char *class_name, Eid 
*name_id)
    wdg->name_id = name_id;
 
    /*If current class inherits from container, create stucture to keep 
content. */
-   if (db_class_inherit_containers_list_get(class_name))
+   if (db_class_inherit_containers_list_get(class_name) &&
+       strcmp(class_name, DB_DEF_NAVIFRAME_CLASS))
      {
         Object_Container *c = _obj_container_new();
         wdg_obj_container_set(wdg, c);

-- 


Reply via email to