Enlightenment CVS committal

Author  : rbdpngn
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src


Modified Files:
        Ewl.h ewl_cell.c 


Log Message:
Re-order some header file includes so that the table can make use of the new
cell object. Fix a silly error in the cell's configure code, need to configure
the child after changes are made. I think this needs to be moved into the
object code, it's a silly requirement for the container to call this after it
alters a child's layout. No reason it can't happen automagically.

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/Ewl.h,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -3 -r1.25 -r1.26
--- Ewl.h       2 Feb 2003 21:03:21 -0000       1.25
+++ Ewl.h       4 Feb 2003 03:43:39 -0000       1.26
@@ -39,6 +39,10 @@
 #include <ewl_misc.h>
 
 #include <ewl_box.h>
+
+#include <ewl_cell.h>
+#include <ewl_row.h>
+
 #include <ewl_grid.h>
 #include <ewl_table.h>
 
@@ -76,8 +80,6 @@
 #include <ewl_selectionbar.h>
 #include <ewl_selectionbook.h>
 
-#include <ewl_cell.h>
-#include <ewl_row.h>
 #include <ewl_tree.h>
 
 #ifdef __cplusplus
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/ewl_cell.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- ewl_cell.c  3 Feb 2003 06:37:00 -0000       1.3
+++ ewl_cell.c  4 Feb 2003 03:43:40 -0000       1.4
@@ -67,8 +67,10 @@
 
        child = ewd_list_goto_first(c->children);
 
-       ewl_object_request_geometry(child, CURRENT_X(w), CURRENT_Y(w),
-                       CURRENT_W(w), CURRENT_H(w));
+       if (child)
+               ewl_object_request_geometry(child, CURRENT_X(w), CURRENT_Y(w),
+                               CURRENT_W(w), CURRENT_H(w));
+       ewl_widget_configure(EWL_WIDGET(child));
 
        DLEAVE_FUNCTION(DLEVEL_STABLE);
 }




-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to