raster pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=650edee3762cb44df0ea9923ce816496a129a820

commit 650edee3762cb44df0ea9923ce816496a129a820
Author: Chinmaya <chinmaya@chinmaya-VirtualBox.(none)>
Date:   Tue Dec 16 12:22:58 2014 +0900

    Gengrid: Focus highlight should move to nearest visible object.
    
    Summary:
    If item_loop is not enabled, the focus highlight should move to nearest 
visible object
    with key events.
    
    Test Plan: elementary_test -to "gengrid 2"
    
    Reviewers: seoz, raster
    
    Subscribers: sachin.dev, seoz
    
    Differential Revision: https://phab.enlightenment.org/D1261
---
 src/lib/elm_gengrid.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/lib/elm_gengrid.c b/src/lib/elm_gengrid.c
index 6eff425..b3def49 100644
--- a/src/lib/elm_gengrid.c
+++ b/src/lib/elm_gengrid.c
@@ -2591,7 +2591,7 @@ _key_action_move(Evas_Object *obj, const char *params)
                        if (_item_horizontal_loop(obj, ELM_FOCUS_RIGHT))
                          return EINA_TRUE;
                     }
-                  return EINA_TRUE;
+                  return EINA_FALSE;
                }
              if (!sd->horizontal)
                eo_left = elm_gengrid_item_prev_get(sd->focused_item);
@@ -2612,7 +2612,7 @@ _key_action_move(Evas_Object *obj, const char *params)
                        if (_item_horizontal_loop(obj, ELM_FOCUS_RIGHT))
                          return EINA_TRUE;
                     }
-                  return EINA_TRUE;
+                  return EINA_FALSE;
                }
              if (!_elm_config->item_select_on_focus_disable)
                {
@@ -2676,7 +2676,7 @@ _key_action_move(Evas_Object *obj, const char *params)
                        if (_item_horizontal_loop(obj, ELM_FOCUS_UP))
                          return EINA_TRUE;
                     }
-                  return EINA_TRUE;
+                  return EINA_FALSE;
                }
              if (!sd->horizontal)
                eo_right = elm_gengrid_item_next_get(sd->focused_item);
@@ -2750,7 +2750,7 @@ _key_action_move(Evas_Object *obj, const char *params)
              Elm_Object_Item *eo_up;
 
              if (_elm_gengrid_item_edge_check(sd->focused_item, ELM_FOCUS_UP))
-               return EINA_TRUE;
+               return EINA_FALSE;
              if (!sd->horizontal)
                eo_up = get_up_item(sd, sd->focused_item);
              else
@@ -2807,7 +2807,7 @@ _key_action_move(Evas_Object *obj, const char *params)
              Elm_Object_Item *eo_down;
 
              if (_elm_gengrid_item_edge_check(sd->focused_item, 
ELM_FOCUS_DOWN))
-               return EINA_TRUE;
+               return EINA_FALSE;
              if (!sd->horizontal)
                eo_down = get_down_item(sd, sd->focused_item);
              else

-- 


Reply via email to