hoversel: improve key_action_move to handle disabled items
authorJee-Yong Um <jc9.um@samsung.com>
Fri, 5 Feb 2016 06:47:31 +0000 (07:47 +0100)
committerCedric BAIL <cedric@osg.samsung.com>
Fri, 5 Feb 2016 07:45:19 +0000 (08:45 +0100)
commit96bd8fae7d07275c971460396feae081ae6aaff0
treed67b567622b0974705cd1775d8fcfe32557907ac
parentc9b3cfd2b9418689362f14e7c5cc368e10d678fb
hoversel: improve key_action_move to handle disabled items

Summary:
Existing key_action_move logic used elm_widget_focus_cycle on hover,
but only handled the first and last item to move focus circularly.
So if the first or last item is disabled, focus movement is blocked.
This patch makes hoversel handle focus movement by itself to handle
disabled item better.

Test Plan: elementary_test -to hoversel

Reviewers: Hermet, cedric, Jaehyun

Differential Revision: https://phab.enlightenment.org/D3640

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
legacy/elementary/src/lib/elc_hoversel.c