Enlightenment CVS committal Author : ningerso Project : e17 Module : libs/ewl
Dir : e17/libs/ewl/src/bin Modified Files: main.c Log Message: API breakage for MVC based widgets. Improved namespace for ewl_model. =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/bin/main.c,v retrieving revision 1.58 retrieving revision 1.59 diff -u -3 -r1.58 -r1.59 --- main.c 16 Mar 2007 20:42:38 -0000 1.58 +++ main.c 21 Mar 2007 03:22:54 -0000 1.59 @@ -459,9 +459,9 @@ ecore_list_append(categories, unit); model = ewl_model_new(); - ewl_model_fetch_set(model, ewl_test_cb_category_fetch); - ewl_model_count_set(model, ewl_model_cb_ecore_list_count); - ewl_model_expandable_set(model, ewl_test_cb_category_expandable); + ewl_model_data_fetch_set(model, ewl_test_cb_category_fetch); + ewl_model_data_count_set(model, ewl_model_cb_ecore_list_count); + ewl_model_data_expandable_set(model, ewl_test_cb_category_expandable); ewl_model_expansion_data_fetch_set(model, ewl_test_cb_category_expansion_fetch); ewl_model_expansion_model_fetch_set(model, @@ -520,8 +520,8 @@ ewl_widget_show(o); model = ewl_model_new(); - ewl_model_fetch_set(model, cb_unit_test_fetch); - ewl_model_count_set(model, cb_unit_test_count); + ewl_model_data_fetch_set(model, cb_unit_test_fetch); + ewl_model_data_count_set(model, cb_unit_test_count); o2 = ewl_tree2_new(); ewl_container_child_append(EWL_CONTAINER(o), o2); @@ -1051,8 +1051,8 @@ if (expansion_model) return expansion_model; expansion_model = ewl_model_new(); - ewl_model_fetch_set(expansion_model, ewl_test_cb_expansion_fetch); - ewl_model_count_set(expansion_model, ewl_model_cb_ecore_list_count); + ewl_model_data_fetch_set(expansion_model, ewl_test_cb_expansion_fetch); + ewl_model_data_count_set(expansion_model, ewl_model_cb_ecore_list_count); return expansion_model; } ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs