temp fix until the revamp is ready for cvs

SVN revision: 17552
This commit is contained in:
codewarrior 2005-10-15 00:47:19 +00:00 committed by codewarrior
parent a41f9a2e96
commit b13dc494c7
1 changed files with 7 additions and 1 deletions

View File

@ -85,6 +85,10 @@ e_icon_layout_thaw(Evas_Object *obj)
sd->frozen--;
if (sd->frozen <= 0) _e_icon_layout_smart_reconfigure(sd);
printf("virtual size is: %d %d\n", sd->vw, sd->vh);
return sd->frozen;
}
@ -333,13 +337,15 @@ _e_icon_layout_smart_reconfigure(E_Smart_Data *sd)
Evas_Coord x, y, w, h;
Evas_List *l;
if (!sd->changed) return;
//if (!sd->changed) return;
x = sd->x + sd->xs;
y = sd->y + sd->ys;
w = sd->vw;
h = sd->vh;
printf("reconfigure: w = %d\n", w);
for (l = sd->items; l; l = l->next)
{
E_Icon_Layout_Item *li;