From: Enlightenment C. <no...@cv...> - 2006-10-17 05:38:05
|
Enlightenment CVS committal Author : ningerso Project : e17 Module : libs/ewl Dir : e17/libs/ewl/src/bin/tests/list Modified Files: ewl_list.c Log Message: Merge some of dan's MVC work that I missed in the conversion. =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/list/ewl_list.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- ewl_list.c 17 Oct 2006 04:59:56 -0000 1.1 +++ ewl_list.c 17 Oct 2006 05:37:33 -0000 1.2 @@ -194,11 +194,13 @@ { Ewl_List *list; Ecore_List *el; + Ewl_Selection_Idx *idx; list = EWL_LIST(w); el = ewl_mvc_data_get(EWL_MVC(list)); + idx = ewl_mvc_selected_get(EWL_MVC(list)); - ecore_list_goto_index(el, ewl_mvc_selected_get(EWL_MVC(list))); + ecore_list_goto_index(el, idx->row); printf("Selected (%s)\n", (char *)ecore_list_current(el)); } |