efl_ui_types: rename move_prolicy field
authorMarcel Hollerbach <mail@marcel-hollerbach.de>
Sat, 9 Mar 2019 12:32:17 +0000 (13:32 +0100)
committerJunsuChoi <jsuya.choi@samsung.com>
Fri, 15 Mar 2019 04:23:19 +0000 (13:23 +0900)
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
src/lib/elementary/elm_config.c
src/tests/elementary/elm_test_config.c

index 20310e6..f0b5e6c 100644 (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.]]
index a36fcd5..2e34c25 100644 (file)
@@ -5167,7 +5167,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" }
 };
 
index 636120f..c6745c1 100644 (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);