[Gengrid] Fix gengrid item position update bug, when item is reordered or deleted.
authorSangHyeon Lee <sh10233.lee@samsung.com>
Thu, 15 May 2014 03:13:23 +0000 (12:13 +0900)
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>
Thu, 15 May 2014 03:13:23 +0000 (12:13 +0900)
commit4701f8255ded781ccf253e4b1f01aceefa18f570
treec0f1069f5c98fa58b2173d3faed0004eaca175b3
parent87bafb8ef7061701ee45faa3059facfabbdab813
[Gengrid] Fix gengrid item position update bug, when item is reordered or deleted.

Summary:
When gengrid item is reordered or deleted, gengrid didn't update item's position.
         This Patch update item's position when item is placed. if middle of item deleted,
         every item after the deleted one, will re-postion on _item_place function, so they
         will be update there position well.

Test Plan:
modify test_gengrid grid_sel fuction to print there position. so when item selected,
           they print there position and it works fine both horizontal and vertical.

Reviewers: bluezery, seoz, raster

Reviewed By: raster

CC: Hermet, chinmaya061
Differential Revision: https://phab.enlightenment.org/D855
src/bin/test_gengrid.c
src/lib/elm_gengrid.c