Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/bin/tests/text_editor


Modified Files:
        ewl_text_editor.c 


Log Message:
- working on tree2 selections. the selection struct now contains a pointer
  to the model along with the data.
- this breaks the api to set selections on the tree slightly

===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/text_editor/ewl_text_editor.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- ewl_text_editor.c   20 Jan 2007 06:33:46 -0000      1.9
+++ ewl_text_editor.c   22 Jan 2007 09:33:02 -0000      1.10
@@ -147,8 +147,8 @@
                ewl_mvc_model_set(EWL_MVC(o), model);
                ewl_mvc_view_set(EWL_MVC(o), view);
                ewl_mvc_data_set(EWL_MVC(o), styles);
-               ewl_mvc_selected_set(EWL_MVC(o), ewl_mvc_data_get(EWL_MVC(o)),
-                               0, 0);
+               ewl_mvc_selected_set(EWL_MVC(o), NULL,
+                               ewl_mvc_data_get(EWL_MVC(o)), 0, 0);
                ewl_container_child_append(EWL_CONTAINER(hbox), o);
                ewl_callback_append(o, EWL_CALLBACK_VALUE_CHANGED, 
                                                ete_cb_styles_changed, NULL);



-------------------------------------------------------------------------
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

Reply via email to