Genlist: restore old behaviour of item next/prev in group items
authorDave Andreoli <dave@gurumeditation.it>
Fri, 13 Apr 2018 18:37:36 +0000 (20:37 +0200)
committerWonki Kim <wonki_.kim@samsung.com>
Mon, 28 May 2018 10:26:04 +0000 (19:26 +0900)
commit2006861f920d9255d430603389262043b55ceb28
tree03dfbe99645b36fd5b010235c165efcbcb34d695
parent4164a045a6dcca4bf17fd5913ad57584ed46700c
Genlist: restore old behaviour of item next/prev in group items

Commit fd82c2521 has changed the behaviour of item_next/prev_get()
in case of genlist with group items (not tree).

The lagacy behaviour was to tread normal items and group items
in a flat way, like if group items was on the same level of
the children normal items.

As the commit already implement bug compatibility, seems to me
the case to restore also this case. Note that this changes only
apply to legacy genlist (I think).

Let me know if this broke something for you...as touching genlist
code is always an "I hope this is right" operation.
src/lib/elementary/elm_genlist.c