From 2f85e789986fea95c8eb7be3ee1c83dd03ef9dc4 Mon Sep 17 00:00:00 2001 From: Marcel Hollerbach Date: Sat, 9 Mar 2019 13:32:17 +0100 Subject: [PATCH] efl_ui_types: rename move_prolicy field Summary: in was not very descriptiv, move_in was concluded to be more descriptive ref T7726 Reviewers: segfaultxavi, cedric, zmike Reviewed By: segfaultxavi Subscribers: #reviewers, #committers Tags: #efl Maniphest Tasks: T7726 Differential Revision: https://phab.enlightenment.org/D8270 --- src/lib/elementary/efl_ui.eot | 2 +- src/lib/elementary/elm_config.c | 2 +- src/tests/elementary/elm_test_config.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/elementary/efl_ui.eot b/src/lib/elementary/efl_ui.eot index 20310e6faf..f0b5e6ce44 100644 --- a/src/lib/elementary/efl_ui.eot +++ b/src/lib/elementary/efl_ui.eot @@ -25,7 +25,7 @@ enum Efl.Ui.Focus.Move_Policy @since 1.10]] click, [[Move focus by mouse click or touch. Elementary focus is set on mouse click and this is checked at mouse up time. (default)]] - in, [[Move focus by mouse in. Elementary focus is set on mouse move when the + move_in, [[Move focus by mouse in. Elementary focus is set on mouse move when the mouse pointer is moved into an object.]] key_only, [[Move focus by key. Elementary focus is set on key input like Left, Right, Up, Down, Tab, or Shift+Tab.]] diff --git a/src/lib/elementary/elm_config.c b/src/lib/elementary/elm_config.c index 12208dd2b9..a6d943e356 100644 --- a/src/lib/elementary/elm_config.c +++ b/src/lib/elementary/elm_config.c @@ -4897,7 +4897,7 @@ static const struct { const char *str; } _enum_map_focus_move_policy[] = { { EFL_UI_FOCUS_MOVE_POLICY_CLICK, "click" }, -{ EFL_UI_FOCUS_MOVE_POLICY_IN, "in" }, +{ EFL_UI_FOCUS_MOVE_POLICY_MOVE_IN, "in" }, { EFL_UI_FOCUS_MOVE_POLICY_KEY_ONLY, "key_only" } }; diff --git a/src/tests/elementary/elm_test_config.c b/src/tests/elementary/elm_test_config.c index 636120f1df..c6745c16a8 100644 --- a/src/tests/elementary/elm_test_config.c +++ b/src/tests/elementary/elm_test_config.c @@ -96,7 +96,7 @@ EFL_START_TEST(elm_config_eoapi) CONFIG_CHKB(focus_highlight_enabled, !old); CONFIG_CHKB(focus_highlight_animate, 0); CONFIG_CHKB(focus_highlight_clip_disabled, !old); - CONFIG_CHKE(focus_move_policy, EFL_UI_FOCUS_MOVE_POLICY_IN, "in"); + CONFIG_CHKE(focus_move_policy, EFL_UI_FOCUS_MOVE_POLICY_MOVE_IN, "in"); CONFIG_CHKB(item_select_on_focus_disabled, !old); CONFIG_CHKB(first_item_focus_on_first_focusin, 0); CONFIG_CHKB(mirrored, 0);