elementary/gengrid - fixed a bug by jh0506.yun@samsung.com
authorhermet <hermet@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 3 Mar 2011 13:01:39 +0000 (13:01 +0000)
committerhermet <hermet@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 3 Mar 2011 13:01:39 +0000 (13:01 +0000)
commitcd3235949e92997e9ff8144143a8219812328ee4
treed850527d3e48e3c62b832c1506b10b85c890bda3
parentdcd60c1fe0ff34084ff727e4a9185332d9f5405d
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.

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