Enlightenment CVS committal

Author  : jethomas
Project : e17
Module  : libs/ewl

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


Modified Files:
        ewl_list_test.c 


Log Message:
Fix bug 391 and render bug 203 invalid.  Remove seperate highlight widgets from 
use in ewl, and add event data for EWL_CALLBACK_STATE_CHANGED.

===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/list/ewl_list_test.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- ewl_list_test.c     17 Apr 2008 05:06:54 -0000      1.2
+++ ewl_list_test.c     26 Apr 2008 21:07:35 -0000      1.3
@@ -55,8 +55,6 @@
        Ewl_Widget *list, *o;
        Ewl_Model *model;
        Ewl_View *view;
-       char *strs[] = {"foo", "bar", "baz", "bobby", NULL};
-       int i;
        void *data;
 
        /* create a list using an ecore_list of strings of labels */
@@ -128,29 +126,6 @@
                                        list_cb_select_none, NULL);
        ewl_widget_show(list);
 
-
-       /* create a list by appending label widgets. This dosne't use the
-        * MVC controls just allows you to use the container functions */
-       o = ewl_border_new();
-       ewl_border_label_set(EWL_BORDER(o), "Container Functions");
-       ewl_container_child_append(EWL_CONTAINER(box), o);
-       ewl_widget_show(o);
-
-       list = ewl_list_new();
-       ewl_container_child_append(EWL_CONTAINER(o), list);
-       ewl_mvc_selection_mode_set(EWL_MVC(list), EWL_SELECTION_MODE_NONE);
-       ewl_callback_append(list, EWL_CALLBACK_VALUE_CHANGED,
-                                       list_cb_select_none, NULL);
-       ewl_widget_show(list);
-
-       for (i = 0; strs[i]; i++)
-       {
-               o = ewl_label_new();
-               ewl_label_text_set(EWL_LABEL(o), strs[i]);
-               ewl_widget_show(o);
-
-               ewl_container_child_append(EWL_CONTAINER(list), o);
-       }
 
        return 1;
 }



-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to