Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/lib


Modified Files:
        ewl_tree2.c 


Log Message:
- only try to build the tree headers if their visible

===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_tree2.c,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -3 -r1.46 -r1.47
--- ewl_tree2.c 8 Jan 2007 13:02:35 -0000       1.46
+++ ewl_tree2.c 12 Jan 2007 10:06:11 -0000      1.47
@@ -745,7 +745,10 @@
        while ((col = ecore_list_next(tree->columns)))
        {
                int r;
-               ewl_tree2_header_build(tree, col, mvc_data, column);
+
+               if (tree->headers_visible)
+                       ewl_tree2_header_build(tree, col, mvc_data, column);
+
                r = col->model->count(mvc_data);
                if (r > rows) rows = r;
 



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to