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.



SVN revision: 58082
This commit is contained in:
Seunggyun Kim 2011-03-25 04:27:47 +00:00 committed by Carsten Haitzler
parent d7ad29248d
commit c8eb346a08
1 changed files with 2 additions and 2 deletions

View File

@ -2267,8 +2267,8 @@ _update_job(void *data)
{
if (it->updateme)
{
itminw = it->w;
itminh = it->h;
itminw = it->minw;
itminh = it->minh;
it->updateme = EINA_FALSE;
if (it->realized)