summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2018-12-07 15:51:30 -0800
committerCedric BAIL <cedric@osg.samsung.com>2018-12-20 10:44:44 -0800
commit50d675d6c1052258edece2e9748e5aff6797ad3c (patch)
tree32d9d047b9a33d0a6afe6f2d283109f0060f8923 /src
parentb992cc479e35a398e15f73439eb802127cb45cc7 (diff)
elementary: make all view generate an event when the item is created.
Reviewed-by: SangHyeon Jade Lee <sh10233.lee@samsung.com> Differential Revision: https://phab.enlightenment.org/D7447
Diffstat (limited to 'src')
-rw-r--r--src/lib/elementary/efl_ui_layout.c2
-rw-r--r--src/lib/elementary/efl_ui_list_view.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/elementary/efl_ui_layout.c b/src/lib/elementary/efl_ui_layout.c
index 5544e4e65e..ea40224af3 100644
--- a/src/lib/elementary/efl_ui_layout.c
+++ b/src/lib/elementary/efl_ui_layout.c
@@ -2099,7 +2099,7 @@ _efl_ui_layout_view_model_content_update(Efl_Ui_Layout_Data *pd, Efl_Ui_Layout_F
2099 request->factory = efl_ref(tracking->factory); 2099 request->factory = efl_ref(tracking->factory);
2100 request->tracking = tracking; 2100 request->tracking = tracking;
2101 2101
2102 f = efl_ui_factory_create(tracking->factory, pd->connect.model, pd->obj); 2102 f = efl_ui_view_factory_create_with_event(tracking->factory, pd->connect.model, pd->obj);
2103 f = eina_future_then_from_desc(efl_future_then(pd->obj, f), 2103 f = eina_future_then_from_desc(efl_future_then(pd->obj, f),
2104 eina_future_cb_easy(.success = _content_created, 2104 eina_future_cb_easy(.success = _content_created,
2105 .success_type = EINA_VALUE_TYPE_OBJECT, 2105 .success_type = EINA_VALUE_TYPE_OBJECT,
diff --git a/src/lib/elementary/efl_ui_list_view.c b/src/lib/elementary/efl_ui_list_view.c
index 6f283f4f22..34c90dd7aa 100644
--- a/src/lib/elementary/efl_ui_list_view.c
+++ b/src/lib/elementary/efl_ui_list_view.c
@@ -976,7 +976,7 @@ _efl_ui_list_view_efl_ui_list_view_model_realize(Eo *obj, Efl_Ui_List_View_Data
976 tracking->obj = obj; 976 tracking->obj = obj;
977 tracking->pd = pd; 977 tracking->pd = pd;
978 978
979 item->layout_request = efl_ui_factory_create(pd->factory, item->children, obj); 979 item->layout_request = efl_ui_view_factory_create_with_event(pd->factory, item->children, obj);
980 item->layout_request = efl_future_then(obj, item->layout_request); 980 item->layout_request = efl_future_then(obj, item->layout_request);
981 item->layout_request = eina_future_then_from_desc(item->layout_request, 981 item->layout_request = eina_future_then_from_desc(item->layout_request,
982 eina_future_cb_easy(.success = _content_created, 982 eina_future_cb_easy(.success = _content_created,