elementary/naviframe - set main content to naviframe sub object to keep the obj-sub tree.

it needs to set other item contnets to be sub object.



SVN revision: 80520
This commit is contained in:
ChunEon Park 2012-12-08 09:39:19 +00:00
parent 0040b9e8fd
commit b230457c42
1 changed files with 2 additions and 0 deletions

View File

@ -507,6 +507,7 @@ _item_content_set(Elm_Naviframe_Item *it,
evas_object_event_callback_add
(content, EVAS_CALLBACK_DEL, _item_content_del_cb, it);
elm_widget_sub_object_add(WIDGET(it), content);
}
static void
@ -569,6 +570,7 @@ _item_content_unset(Elm_Naviframe_Item *it)
evas_object_event_callback_del
(content, EVAS_CALLBACK_DEL, _item_content_del_cb);
elm_widget_sub_object_del(WIDGET(it), content);
it->content = NULL;
return content;
}