Enlightenment CVS committal Author : kwo Project : e16 Module : e
Dir : e16/e/src Modified Files: dialog.c Log Message: Correct initial sizing of dialog window. =================================================================== RCS file: /cvs/e/e16/e/src/dialog.c,v retrieving revision 1.175 retrieving revision 1.176 diff -u -3 -r1.175 -r1.176 --- dialog.c 14 Oct 2006 08:09:59 -0000 1.175 +++ dialog.c 18 Oct 2006 16:03:36 -0000 1.176 @@ -544,7 +544,7 @@ void DialogArrange(Dialog * d, int resize) { - if (d->item) + if (resize) DialogItemsRealize(d); ICCCM_SetSizeConstraints(d->ewin, d->w, d->h, d->w, d->h, 0, 0, 1, 1, @@ -578,6 +578,8 @@ return; } + DialogItemsRealize(d); + HintsSetWindowClass(d->win, d->name, "Enlightenment_Dialog"); ewin = AddInternalToFamily(d->win, "DIALOG", EWIN_TYPE_DIALOG, d, @@ -1854,6 +1856,7 @@ pad = ImageclassGetPadding(d->iclass); d->w = d->item->w + pad->left + pad->right; d->h = d->item->h + pad->top + pad->bottom; + EResizeWindow(d->win, d->w, d->h); } void ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs