Enlightenment CVS committal Author : lordchaos Project : e17 Module : libs/ewl
Dir : e17/libs/ewl/src/lib Modified Files: ewl_attach.c Log Message: * Fill policy on attach box * Free by data type, not attach type! =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_attach.c,v retrieving revision 1.21 retrieving revision 1.22 diff -u -3 -r1.21 -r1.22 --- ewl_attach.c 29 Dec 2005 17:12:09 -0000 1.21 +++ ewl_attach.c 9 Jan 2006 01:57:35 -0000 1.22 @@ -411,9 +411,11 @@ /* XXX should we clean up _WIDGET in here? */ - if ((attach->type == EWL_ATTACH_DATA_TYPE_TEXT) - || (attach->type == EWL_ATTACH_DATA_TYPE_OTHER)) + if ((attach->data_type == EWL_ATTACH_DATA_TYPE_TEXT) + || (attach->type == EWL_ATTACH_DATA_TYPE_OTHER)) { IF_FREE(attach->data); + } + IF_FREE(attach); @@ -663,12 +665,12 @@ } else { - if (ewl_attach_tooltip->embed) + /*if (ewl_attach_tooltip->embed) ewl_container_child_remove(EWL_CONTAINER(ewl_attach_tooltip->embed), ewl_attach_tooltip->win); ewl_attach_tooltip->embed = EWL_WIDGET(emb); - ewl_container_child_append(EWL_CONTAINER(emb), ewl_attach_tooltip->win); + ewl_container_child_append(EWL_CONTAINER(emb), ewl_attach_tooltip->win);*/ } if (!(ewl_attach_tooltip->box)) @@ -676,6 +678,7 @@ ewl_attach_tooltip->box = ewl_hbox_new(); ewl_container_child_append(EWL_CONTAINER(ewl_attach_tooltip->win), ewl_attach_tooltip->box); + ewl_object_fill_policy_set(EWL_OBJECT(ewl_attach_tooltip->box), EWL_FLAG_FILL_NONE); } if (ewl_attach_tooltip->attach->data_type == EWL_ATTACH_DATA_TYPE_WIDGET) ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs