From: Seunggyun Kim <sgyun.kim@samsung.com>
authorraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 25 Mar 2011 04:27:47 +0000 (04:27 +0000)
committerraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 25 Mar 2011 04:27:47 +0000 (04:27 +0000)
commit112e2e1639b9c2b3e08f6888152cbf626b231645
treebf20d24837e38daee04254dd0736a02bec3ffb9c
parentd9f1675aea1660fe86cb1b109688c5f62cb26ac3
From: Seunggyun Kim <sgyun.kim@samsung.com>
Subject: [E-devel]  elm_genlist - bug fix about _update_job

I found one bug in _update_job.

Now, when the elm_genlist_item_update is called, all realized items have
been updated.

In _update_job logic, item block is recalculated if it->minw and
itminw is
not same.
But before comparing that, itminw value is saved it->w.
And it->minw value is saved in _item_realzie function.
Then there are different between it->minw and itminw value.

So the item block is recalculated and _item_block_position is called.

After applying below patch, elm_genlist_item_update api updates only one
item.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@58082 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33
src/lib/elm_genlist.c