Enlightenment CVS committal Author : dj2 Project : e17 Module : libs/ewl
Dir : e17/libs/ewl/src/lib Modified Files: ewl_icon.c Log Message: - better sizing for the icons. there is still a bit of text that is getting clipped by the box. - editing labels is broken. =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_icon.c,v retrieving revision 1.17 retrieving revision 1.18 diff -u -3 -r1.17 -r1.18 --- ewl_icon.c 6 Sep 2006 16:19:01 -0000 1.17 +++ ewl_icon.c 6 Sep 2006 16:38:03 -0000 1.18 @@ -53,7 +53,6 @@ if (!ewl_box_init(EWL_BOX(icon))) DRETURN_INT(FALSE, DLEVEL_STABLE); - ewl_object_fill_policy_set(EWL_OBJECT(icon), EWL_FLAG_FILL_NONE); ewl_box_orientation_set(EWL_BOX(icon), EWL_ORIENTATION_VERTICAL); ewl_box_spacing_set(EWL_BOX(icon), 4); @@ -141,7 +140,7 @@ icon->preview = ewl_image_thumbnail_get(EWL_IMAGE(img)); ewl_image_proportional_set(EWL_IMAGE(icon->preview), TRUE); - ewl_image_constrain_set(EWL_IMAGE(icon->preview), constrain); + ewl_icon_constrain_set(icon, constrain); ewl_image_file_set(EWL_IMAGE(icon->preview), ewl_icon_theme_icon_path_get( EWL_ICON_IMAGE_LOADING, NULL), ------------------------------------------------------------------------- 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