Enlightenment CVS committal

Author  : codewarrior
Project : e17
Module  : proto

Dir     : e17/proto/etk/src/lib


Modified Files:
        etk_toolbar.c 


Log Message:
check orientation when flipping separators

===================================================================
RCS file: /cvs/e/e17/proto/etk/src/lib/etk_toolbar.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- etk_toolbar.c       15 Aug 2006 20:56:19 -0000      1.4
+++ etk_toolbar.c       16 Aug 2006 06:05:53 -0000      1.5
@@ -169,12 +169,12 @@
    
    for (l = children; l; l = l->next)
    {
-      if (ETK_IS_VSEPARATOR(l->data))
+      if (ETK_IS_VSEPARATOR(l->data) && toolbar->orientation == 
ETK_TOOLBAR_HORIZ)
       {
         etk_object_destroy(ETK_OBJECT(l->data));
         l->data = etk_hseparator_new();
       } 
-      else if (ETK_IS_HSEPARATOR(l->data))
+      else if (ETK_IS_HSEPARATOR(l->data) && toolbar->orientation == 
ETK_TOOLBAR_VERT)
       {
         etk_object_destroy(ETK_OBJECT(l->data));
         l->data = etk_vseparator_new();



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to