Enlightenment CVS committal

Author  : rbdpngn
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src


Modified Files:
        ewl_container.c 


Log Message:
Fix the child add notification.

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/ewl_container.c,v
retrieving revision 1.68
retrieving revision 1.69
diff -u -3 -r1.68 -r1.69
--- ewl_container.c     8 Jun 2004 05:52:33 -0000       1.68
+++ ewl_container.c     17 Jun 2004 04:35:09 -0000      1.69
@@ -22,9 +22,10 @@
        /*
         * Initialize the fields inherited from the widget class
         */
-       if (!ewl_widget_init(w, appearance))
+       if (!ewl_widget_init(w, "container"))
                DRETURN_INT(0, DLEVEL_STABLE);
 
+       ewl_widget_set_appearance(w, appearance);
        ewl_object_set_recursive(EWL_OBJECT(w), TRUE);
 
        /*
@@ -728,9 +729,8 @@
 {
        DENTER_FUNCTION(DLEVEL_STABLE);
 
-       if (c->child_add && VISIBLE(w) && REALIZED(w))
+       if (c->child_add)
                c->child_add(c, w);
-
        ewl_widget_configure(EWL_WIDGET(c));
 
        DLEAVE_FUNCTION(DLEVEL_STABLE);




-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to