Enlightenment CVS committal Author : dj2 Project : e17 Module : libs/ewl
Dir : e17/libs/ewl/src/bin Modified Files: main.c Log Message: - do some more work on the mvc selection code. - this breaks the current api - EWL_TREE_MODE is now EWL_SELECTION_MODE - the selection_rm is missing the ability to remove from ranges - still need to fill the unit tests =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/bin/main.c,v retrieving revision 1.37 retrieving revision 1.38 diff -u -3 -r1.37 -r1.38 --- main.c 8 Oct 2006 07:31:35 -0000 1.37 +++ main.c 15 Oct 2006 22:34:14 -0000 1.38 @@ -230,6 +230,7 @@ { int i, failures = 0; char buf[1024]; + buf[0] = '\0'; /* no unit tests, nothign to do */ if (!test->unit_tests) return 0; @@ -414,7 +415,7 @@ ewl_container_child_append(EWL_CONTAINER(note), tree); ewl_notebook_page_tab_text_set(EWL_NOTEBOOK(note), tree, "Tests"); ewl_tree_headers_visible_set(EWL_TREE(tree), FALSE); - ewl_tree_mode_set(EWL_TREE(tree), EWL_TREE_MODE_SINGLE); + ewl_tree_mode_set(EWL_TREE(tree), EWL_SELECTION_MODE_SINGLE); ewl_widget_show(tree); /* create the test category rows */ @@ -473,7 +474,7 @@ o2 = ewl_tree_new(3); ewl_container_child_append(EWL_CONTAINER(o), o2); ewl_tree_headers_set(EWL_TREE(o2), headers); - ewl_tree_mode_set(EWL_TREE(o2), EWL_TREE_MODE_SINGLE); + ewl_tree_mode_set(EWL_TREE(o2), EWL_SELECTION_MODE_SINGLE); ewl_widget_name_set(o2, "unit_test_tree"); ewl_widget_show(o2); ------------------------------------------------------------------------- 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