genlist: Remove weird behavior about item_show, bring_in
authorJiwon Kim <jwkim0000@gmail.com>
Thu, 2 Mar 2017 06:36:00 +0000 (15:36 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Thu, 2 Mar 2017 07:43:47 +0000 (16:43 +0900)
commite6a1e456cb3ca7587bd7c1c2dc822af035bf6f42
tree61316a34a603cf43ecc304f026cb03f02a58e4c8
parent9f535a3f3c3dfae6abff50a4472b6422cfaa7b2e
genlist: Remove weird behavior about item_show, bring_in

Summary:
When if item_show / bring_in is proceeded as 'deferred_show'
sequence, Scrollto_Type does not be checked perfectly.
As a result,
ELM_GENLIST_ITEM_SCROLLTO_NONE and any other integer values
are worked such as ELM_GENLIST_ITEM_SCROLLTO_BRING_IN.

As doxygen of Elm_Genlist_Item_Scrollto_Type,
ELM_GENLIST_ITEM_SCROLLTO_NONE and other incorrect number
should not work.

Fixes T4854

@fix

Reviewers: SanghyeonLee, woohyun, jpeg

Reviewed By: jpeg

Subscribers: id213sin, conr2d, cedric

Maniphest Tasks: T4854

Differential Revision: https://phab.enlightenment.org/D4684
src/lib/elementary/elm_genlist.c
src/lib/elementary/elm_genlist_item.eo