summaryrefslogtreecommitdiff
path: root/src/bin/elementary/test_ui_collection.c
diff options
context:
space:
mode:
authorSangHyeon Jade Lee <sh10233.lee@samsung.com>2019-09-25 16:39:30 +0900
committerSangHyeon Jade Lee <sh10233.lee@samsung.com>2019-09-25 17:12:51 +0900
commit2c4db3b09a06815783acc3d6946f94c2d3203d4d (patch)
treef02daf420023daef3a70b2e8fa8a4c424f4a73d5 /src/bin/elementary/test_ui_collection.c
parent5ccf48355b82818294d0d54418e7ba9696ef5ebf (diff)
downloadefl-2c4db3b09a06815783acc3d6946f94c2d3203d4d.tar.gz
efl_ui : reverse the select method name to be ended verb on the last.
Summary: our new method naming rule only allow verb at the last position, so change name to fallow rule. Reviewers: bu5hm4n, cedric, segfaultxavi Reviewed By: bu5hm4n, segfaultxavi Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10144
Diffstat (limited to 'src/bin/elementary/test_ui_collection.c')
-rw-r--r--src/bin/elementary/test_ui_collection.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/bin/elementary/test_ui_collection.c b/src/bin/elementary/test_ui_collection.c
index ed98d2e377..f407a6988a 100644
--- a/src/bin/elementary/test_ui_collection.c
+++ b/src/bin/elementary/test_ui_collection.c
@@ -5,15 +5,15 @@
#include <Efl_Ui.h>
static void
-_select_all(void *data, const Efl_Event *ev EINA_UNUSED)
+_all_select(void *data, const Efl_Event *ev EINA_UNUSED)
{
- efl_ui_select_all(data);
+ efl_ui_all_select(data);
}
static void
-_unselect_all(void *data, const Efl_Event *ev EINA_UNUSED)
+_all_unselect(void *data, const Efl_Event *ev EINA_UNUSED)
{
- efl_ui_unselect_all(data);
+ efl_ui_all_unselect(data);
}
static void
@@ -284,14 +284,14 @@ void create_item_container_ui(const Efl_Class *collection_class, const Efl_Class
efl_gfx_hint_weight_set(efl_added, 0.0, 0.0),
efl_gfx_hint_align_set(efl_added, 0, 0.5));
efl_text_set(o, "Select All");
- efl_event_callback_add(o, EFL_INPUT_EVENT_CLICKED, _select_all, item_container);
+ efl_event_callback_add(o, EFL_INPUT_EVENT_CLICKED, _all_select, item_container);
efl_pack_table(tbl, o, 0, 11, 1, 1);
o = efl_add(EFL_UI_BUTTON_CLASS, tbl,
efl_gfx_hint_weight_set(efl_added, 0.0, 0.0),
efl_gfx_hint_align_set(efl_added, 0, 0.5));
efl_text_set(o, "Unselect All");
- efl_event_callback_add(o, EFL_INPUT_EVENT_CLICKED, _unselect_all, item_container);
+ efl_event_callback_add(o, EFL_INPUT_EVENT_CLICKED, _all_unselect, item_container);
efl_pack_table(tbl, o, 0, 12, 1, 1);