[access][genlist] do not append NULL to genlist focus list

This commit is contained in:
Shinwoo Kim 2013-05-03 20:01:58 +09:00
parent 3630715e62
commit 4a568d2bff
3 changed files with 4 additions and 1 deletions

View File

@ -1331,3 +1331,4 @@
2012-05-03 Shinwoo Kim
* Fix gengrid does not work under the accessibility.
* Fix do not append NULL to genlist focus list.

View File

@ -224,6 +224,7 @@ Fixes:
* Elm_entry_filter_accept_set function now can recognize tags.
* Don't be dead even if a ctxpopup item callback is null.
* Fix gengrid does not work under the accessibility.
* Fix do not append NULL to genlist focus list.
Removals:

View File

@ -2616,7 +2616,8 @@ _elm_genlist_smart_focus_next(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
evas_object_geometry_get(it->base.view, &x, &y, &w, &h);
/* check item which displays more than half of its size */
if (ELM_RECTS_INTERSECT
if (it->base.access_obj &&
ELM_RECTS_INTERSECT
(x + (w / 2), y + (h / 2), 0, 0, sx, sy, sw, sh))
items = eina_list_append(items, it->base.access_obj);