forked from enlightenment/efl
[access][genlist] do not append NULL to genlist focus list
This commit is contained in:
parent
3630715e62
commit
4a568d2bff
|
@ -1331,3 +1331,4 @@
|
||||||
2012-05-03 Shinwoo Kim
|
2012-05-03 Shinwoo Kim
|
||||||
|
|
||||||
* Fix gengrid does not work under the accessibility.
|
* Fix gengrid does not work under the accessibility.
|
||||||
|
* Fix do not append NULL to genlist focus list.
|
||||||
|
|
|
@ -224,6 +224,7 @@ Fixes:
|
||||||
* Elm_entry_filter_accept_set function now can recognize tags.
|
* Elm_entry_filter_accept_set function now can recognize tags.
|
||||||
* Don't be dead even if a ctxpopup item callback is null.
|
* Don't be dead even if a ctxpopup item callback is null.
|
||||||
* Fix gengrid does not work under the accessibility.
|
* Fix gengrid does not work under the accessibility.
|
||||||
|
* Fix do not append NULL to genlist focus list.
|
||||||
|
|
||||||
Removals:
|
Removals:
|
||||||
|
|
||||||
|
|
|
@ -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);
|
evas_object_geometry_get(it->base.view, &x, &y, &w, &h);
|
||||||
|
|
||||||
/* check item which displays more than half of its size */
|
/* 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))
|
(x + (w / 2), y + (h / 2), 0, 0, sx, sy, sw, sh))
|
||||||
items = eina_list_append(items, it->base.access_obj);
|
items = eina_list_append(items, it->base.access_obj);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue