elementary/gengrid - fixed a bug by jh0506.yun@samsung.com
authorChunEon Park <hermet@hermet.pe.kr>
Thu, 3 Mar 2011 13:01:39 +0000 (13:01 +0000)
committerChunEon Park <hermet@hermet.pe.kr>
Thu, 3 Mar 2011 13:01:39 +0000 (13:01 +0000)
commita6a97581f2b972b27f61d4fe0659989ccef3b169
treed850527d3e48e3c62b832c1506b10b85c890bda3
parentce4b39f03078e7c99e337a33a5ea33e7e3fc5517
elementary/gengrid - fixed a bug by jh0506.yun@samsung.com

Hello.

I attached the modified patch about calc_job problem.

When I tested gengrid, sometimes gengrid renderd two times in different
shape in a moment.
So I checked gengrid code, I found cause in calc_job function.

calc_job added to ecore job after elm_gengrid_item_size_set and
elm_gengrid_item_append(,prepend,insert_before,insert_after) and etc.
Sometimes pan_smart's cvw and cvh is 0 at this time.

I think, No need to calc_job when pan_smart's cvw and cvh is 0.

Please check about this patch.

Thanks.

SVN revision: 57491
src/lib/elm_gengrid.c