aboutsummaryrefslogtreecommitdiffstats
path: root/src/examples
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2019-03-19 16:30:19 -0400
committerMike Blumenkrantz <zmike@samsung.com>2019-03-19 16:30:19 -0400
commit11003bcae3bcd5e2133e1547dfb1d54e9b651603 (patch)
tree132765e867e3b6a73c02d97e8bfad266a342f6bc /src/examples
parentelm: do not use eo events here (diff)
downloadefl-11003bcae3bcd5e2133e1547dfb1d54e9b651603.tar.gz
efl_ui: rename select and unselected of efl_ui_selectable
Summary: this was conflicting with a model event. Prefixing it with "item," resolves this, and describes better what it does. Depends on https://phab.enlightenment.org/D8413 Reviewers: zmike Reviewed By: zmike Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8414
Diffstat (limited to 'src/examples')
-rw-r--r--src/examples/elementary/efl_ui_list_example_1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/examples/elementary/efl_ui_list_example_1.c b/src/examples/elementary/efl_ui_list_example_1.c
index a07bed6b25..29475f98bf 100644
--- a/src/examples/elementary/efl_ui_list_example_1.c
+++ b/src/examples/elementary/efl_ui_list_example_1.c
@@ -125,8 +125,8 @@ elm_main(int argc EINA_UNUSED, char **argv)
priv_d.list = list = efl_add(EFL_UI_LIST_CLASS, wbox);
efl_gfx_hint_weight_set(list, EFL_GFX_HINT_EXPAND, 0.9);
- efl_event_callback_add(list, EFL_UI_EVENT_SELECTED, _list_selected, NULL);
- efl_event_callback_add(list, EFL_UI_EVENT_UNSELECTED, _list_unselected, NULL);
+ efl_event_callback_add(list, EFL_UI_EVENT_ITEM_SELECTED, _list_selected, NULL);
+ efl_event_callback_add(list, EFL_UI_EVENT_ITEM_UNSELECTED, _list_unselected, NULL);
efl_event_callback_add(list, EFL_UI_EVENT_PRESSED, _list_pressed, NULL);
efl_event_callback_add(list, EFL_UI_EVENT_UNPRESSED, _list_unpressed, NULL);
efl_event_callback_add(list, EFL_UI_EVENT_LONGPRESSED, _list_longpressed, NULL);