Dear all,

I made the patch to fix index bug.

Thanks,
Joey
Index: src/lib/elm_genlist.c
===================================================================
--- src/lib/elm_genlist.c	(revision 69353)
+++ src/lib/elm_genlist.c	(working copy)
@@ -5215,7 +5219,7 @@ elm_genlist_item_index_get(const Elm_Object_Item *
    Elm_Gen_Item *_it = (Elm_Gen_Item *)it;
 
    if (_it->item->block)
-     return _it->position + _it->item->block->position;
+     return _it->position + (_it->item->block->position * _it->wd->max_items_per_block);
    return -1;
 }
 
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to