Gengrid: Fix wrong focus movement in _item_single_select_down
authorVaibhav Gupta <g.vaibhav1@samsung.com>
Fri, 28 Aug 2015 06:34:49 +0000 (12:04 +0530)
committerAmitesh Singh <amitesh.sh@samsung.com>
Fri, 28 Aug 2015 06:34:49 +0000 (12:04 +0530)
commit504896e4a674badc82a9512ac90b0b8ce189a4fb
tree299a098f32bcccf51cce9d536a0ea41f122dab76
parent88d7577a1ba72142d0691312d47905d6d50663f9
Gengrid: Fix wrong focus movement in _item_single_select_down

Summary:
The focus movement is wrong when down key press
is done of first item of last row, intsead of
taking the focus out, it moves the focus to next
item (right).

@fix

Signed-off-by: Vaibhav Gupta <g.vaibhav1@samsung.com>
Test Plan:
1. Launch elementary_test -> Gengrid 2 sample
2. Add a few items such that there are 2 items in last row
3. Do a down key press on 1st item of last row
4. Observe focus movement

Reviewers: raster, Hermet, SanghyeonLee, singh.amitesh

Subscribers: sachin.dev

Differential Revision: https://phab.enlightenment.org/D3001
src/lib/elm_gengrid.c