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)
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 '')
-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 ed98d2e..f407a69 100644
--- a/src/bin/elementary/test_ui_collection.c
+++ b/src/bin/elementary/test_ui_collection.c
@@ -5,15 +5,15 @@
5#include <Efl_Ui.h> 5#include <Efl_Ui.h>
6 6
7static void 7static void
8_select_all(void *data, const Efl_Event *ev EINA_UNUSED) 8_all_select(void *data, const Efl_Event *ev EINA_UNUSED)
9{ 9{
10 efl_ui_select_all(data); 10 efl_ui_all_select(data);
11} 11}
12 12
13static void 13static void
14_unselect_all(void *data, const Efl_Event *ev EINA_UNUSED) 14_all_unselect(void *data, const Efl_Event *ev EINA_UNUSED)
15{ 15{
16 efl_ui_unselect_all(data); 16 efl_ui_all_unselect(data);
17} 17}
18 18
19static void 19static void
@@ -284,14 +284,14 @@ void create_item_container_ui(const Efl_Class *collection_class, const Efl_Class
284 efl_gfx_hint_weight_set(efl_added, 0.0, 0.0), 284 efl_gfx_hint_weight_set(efl_added, 0.0, 0.0),
285 efl_gfx_hint_align_set(efl_added, 0, 0.5)); 285 efl_gfx_hint_align_set(efl_added, 0, 0.5));
286 efl_text_set(o, "Select All"); 286 efl_text_set(o, "Select All");
287 efl_event_callback_add(o, EFL_INPUT_EVENT_CLICKED, _select_all, item_container); 287 efl_event_callback_add(o, EFL_INPUT_EVENT_CLICKED, _all_select, item_container);
288 efl_pack_table(tbl, o, 0, 11, 1, 1); 288 efl_pack_table(tbl, o, 0, 11, 1, 1);
289 289
290 o = efl_add(EFL_UI_BUTTON_CLASS, tbl, 290 o = efl_add(EFL_UI_BUTTON_CLASS, tbl,
291 efl_gfx_hint_weight_set(efl_added, 0.0, 0.0), 291 efl_gfx_hint_weight_set(efl_added, 0.0, 0.0),
292 efl_gfx_hint_align_set(efl_added, 0, 0.5)); 292 efl_gfx_hint_align_set(efl_added, 0, 0.5));
293 efl_text_set(o, "Unselect All"); 293 efl_text_set(o, "Unselect All");
294 efl_event_callback_add(o, EFL_INPUT_EVENT_CLICKED, _unselect_all, item_container); 294 efl_event_callback_add(o, EFL_INPUT_EVENT_CLICKED, _all_unselect, item_container);
295 efl_pack_table(tbl, o, 0, 12, 1, 1); 295 efl_pack_table(tbl, o, 0, 12, 1, 1);
296 296
297 297