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
This commit is contained in:
Marcel Hollerbach 2019-03-09 13:32:17 +01:00 committed by Xavi Artigas
parent a1addad60e
commit 2f85e78998
3 changed files with 3 additions and 3 deletions

View File

@ -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.]]

View File

@ -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" }
};

View File

@ -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);