cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=c3f78d8b4f860956943d8fa9714b1ae13c48febe

commit c3f78d8b4f860956943d8fa9714b1ae13c48febe
Author: SangHyeon Jade Lee <[email protected]>
Date:   Tue Aug 13 11:30:06 2019 +0000

    efl_ui: update efl_ui_list_view example to work
    
    seems name for the model property_name is now allowed,
    so fix it to title and now it works well.
    
    Reviewed-by: Cedric BAIL <[email protected]>
    Differential Revision: https://phab.enlightenment.org/D9558
---
 src/examples/elementary/efl_ui_list_view_example_1.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/examples/elementary/efl_ui_list_view_example_1.c 
b/src/examples/elementary/efl_ui_list_view_example_1.c
index 78489017ca..c0b377b128 100644
--- a/src/examples/elementary/efl_ui_list_view_example_1.c
+++ b/src/examples/elementary/efl_ui_list_view_example_1.c
@@ -61,7 +61,7 @@ _make_model(Evas_Object *win)
 
         snprintf(buf, sizeof(buf), "Item # %i", i);
         eina_value_set(&vtext, buf);
-        efl_model_property_set(child, "name", &vtext);
+        efl_model_property_set(child, "title", &vtext);
      }
 
    eina_value_flush(&vtext);
@@ -90,7 +90,7 @@ elm_main(int argc EINA_UNUSED, char **argv EINA_UNUSED)
    efl_ui_widget_factory_item_class_set(factory, 
EFL_UI_LIST_DEFAULT_ITEM_CLASS);
    efl_ui_property_bind(factory, "signal/efl,state,%v", "odd_style");
    efl_ui_property_bind(factory, "signal/efl,state,%{selected;unselected}", 
"selected");
-   efl_ui_property_bind(factory, "efl.text", "name");
+   efl_ui_property_bind(factory, "efl.text", "title");
 
    li = efl_add(EFL_UI_LIST_VIEW_CLASS, win
      , efl_ui_list_view_layout_factory_set(efl_added, factory)

-- 


Reply via email to