Enlightenment CVS committal

Author  : rbdpngn
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/lib


Modified Files:
        ewl_fileselector.c ewl_calendar.c 


Log Message:
Fix for new label API.

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_fileselector.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -3 -r1.27 -r1.28
--- ewl_fileselector.c  14 Oct 2005 05:47:38 -0000      1.27
+++ ewl_fileselector.c  17 Oct 2005 15:23:27 -0000      1.28
@@ -177,9 +177,11 @@
                                           EWL_FLAG_FILL_SHRINK |
                                           EWL_FLAG_FILL_HFILL);
 
-               misc = ewl_label_new("File:");
+               misc = ewl_label_new();
+               ewl_label_text_set(EWL_LABEL(misc), "File:");
                ewl_object_fill_policy_set(EWL_OBJECT(misc),
                                           EWL_FLAG_FILL_NONE);
+               ewl_object_alignment_set(EWL_OBJECT(misc), EWL_FLAG_ALIGN_LEFT);
                ewl_container_child_append(EWL_CONTAINER(hbox), misc);
                ewl_widget_show(misc);
 
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_calendar.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- ewl_calendar.c      6 Oct 2005 05:01:44 -0000       1.9
+++ ewl_calendar.c      17 Oct 2005 15:23:27 -0000      1.10
@@ -293,7 +293,8 @@
 
        
        ib->grid = ewl_grid_new(7,7);
-       ib->month_label = ewl_label_new("Disp");
+       ib->month_label = ewl_label_new();
+       ewl_label_text_set(EWL_LABEL(ib->month_label), "Disp");
 
        /*printf("Getting date..");*/
        /*Get the start time..*/




-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to