Enlightenment CVS committal

Author  : rbdpngn
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/lib


Modified Files:
        ewl_tree.c ewl_cell.c 


Log Message:
Don't override the cell default in the tree.
No need to allow the vertical shrink fill policy on a cell.

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_tree.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -3 -r1.14 -r1.15
--- ewl_tree.c  3 Oct 2005 06:43:07 -0000       1.14
+++ ewl_tree.c  16 Oct 2005 05:09:33 -0000      1.15
@@ -260,9 +260,6 @@
 
                ewl_widget_internal_set(cell, TRUE);
                ewl_container_child_append(EWL_CONTAINER(row), cell);
-               ewl_object_fill_policy_set(EWL_OBJECT(cell),
-                               EWL_FLAG_FILL_HFILL |
-                               EWL_FLAG_FILL_HSHRINK);
                ewl_widget_show(cell);
 
                if (children[i]) {
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_cell.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- ewl_cell.c  16 Oct 2005 04:43:59 -0000      1.5
+++ ewl_cell.c  16 Oct 2005 05:09:33 -0000      1.6
@@ -41,7 +41,8 @@
        if (!ewl_container_init(EWL_CONTAINER(cell)))
                DRETURN_INT(FALSE, DLEVEL_STABLE);
 
-       ewl_object_fill_policy_set(EWL_OBJECT(cell), EWL_FLAG_FILL_ALL);
+       ewl_object_fill_policy_set(EWL_OBJECT(cell), EWL_FLAG_FILL_FILL |
+                                  EWL_FLAG_FILL_HSHRINK);
        ewl_widget_appearance_set(EWL_WIDGET(cell), "cell");
        ewl_widget_inherit(EWL_WIDGET(cell), "cell");
 




-------------------------------------------------------
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