Enlightenment CVS committal Author : dj2 Project : e17 Module : libs/ewl
Dir : e17/libs/ewl/src/lib Modified Files: ewl_tree2.c Log Message: - alternate row colours =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_tree2.c,v retrieving revision 1.23 retrieving revision 1.24 diff -u -3 -r1.23 -r1.24 --- ewl_tree2.c 14 Aug 2006 22:00:19 -0000 1.23 +++ ewl_tree2.c 15 Aug 2006 17:54:56 -0000 1.24 @@ -539,6 +539,11 @@ ewl_container_child_append(EWL_CONTAINER(tree->rows), row); ewl_widget_show(row); + if (i % 2) + ewl_widget_state_set(row, "odd", EWL_STATE_PERSISTENT); + else + ewl_widget_state_set(row, "even", EWL_STATE_PERSISTENT); + column = 0; ecore_list_goto_first(tree->columns); while((col = ecore_list_next(tree->columns))) ------------------------------------------------------------------------- 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