Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/lib


Modified Files:
        ewl_menu_item.c 


Log Message:
- make menu items use ewl_label instead of ewl_text

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_menu_item.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- ewl_menu_item.c     21 Nov 2005 05:45:50 -0000      1.2
+++ ewl_menu_item.c     22 Nov 2005 23:40:50 -0000      1.3
@@ -80,7 +80,7 @@
        DCHECK_TYPE_RET("item", item, "menu_item", NULL);
 
        if (item->text)
-               DRETURN_PTR(ewl_text_text_get(EWL_TEXT(item->text)), 
+               DRETURN_PTR(ewl_label_text_get(EWL_LABEL(item->text)), 
                                DLEVEL_STABLE);
 
        DRETURN_PTR(NULL, DLEVEL_STABLE);
@@ -111,7 +111,7 @@
                 * Setup the text object and add it to the menu.
                 */
                if (!item->text) {
-                       item->text = ewl_text_new();
+                       item->text = ewl_label_new();
                        ewl_container_child_append(EWL_CONTAINER(item),
                                        item->text);
                        ewl_widget_show(item->text);
@@ -121,7 +121,7 @@
                 * Set the request text.
                 */
                if (item->text) {
-                       ewl_text_text_set(EWL_TEXT(item->text), text);
+                       ewl_label_text_set(EWL_LABEL(item->text), text);
                        if (!item->icon)
                                ewl_menu_item_image_set(item, NULL);
                }




-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to