genlist: Fixed item select logic when item select mode is ALWAYS.
authorJae Yong Hwang <j_yong.hwang@samsung.com>
Thu, 21 Aug 2014 13:49:36 +0000 (22:49 +0900)
committerDaniel Juyung Seo <seojuyung2@gmail.com>
Thu, 21 Aug 2014 13:54:22 +0000 (22:54 +0900)
commit97c7d9bec4c9fc4e8aac9d49a503e04a93f36085
tree22bda3d862676fcdb2cbba46576e175d57a8b087
parentae9e088cb9e9f7405fb412cf62b9c24b5c144204
genlist: Fixed item select logic when item select mode is ALWAYS.

Summary:
ELM_OBJECT_SELECT_MODE_ALWAYS mode for elm_genlist_item_select_mode
was broken. In the item select routine, item mode(it->mode) was not
checked. So, I added the check routine there.

@fix

Test Plan: I revised the elementary_test code and tested with that.

Reviewers: raster, seoz

Reviewed By: seoz

Subscribers: SanghyeonLee, bluezery

Differential Revision: https://phab.enlightenment.org/D1347
src/lib/elm_genlist.c