Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/lib


Modified Files:
        ewl_box.c 


Log Message:
- update the appearnce flag on orientation change

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_box.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- ewl_box.c   8 Oct 2005 06:22:59 -0000       1.8
+++ ewl_box.c   17 Oct 2005 14:57:13 -0000      1.9
@@ -211,6 +211,11 @@
 
        b->orientation = o;
 
+       if (b->orientation == EWL_ORIENTATION_HORIZONTAL)
+               ewl_widget_appearance_set(EWL_WIDGET(b), "hbox");
+       else if (b->orientation == EWL_ORIENTATION_VERTICAL)
+               ewl_widget_appearance_set(EWL_WIDGET(b), "vbox");
+
        ewl_widget_configure(w);
 
        DLEAVE_FUNCTION(DLEVEL_STABLE);




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