Enlightenment CVS committal
Author : dj2
Project : e17
Module : libs/ewl
Dir : e17/libs/ewl/src/lib
Modified Files:
ewl_tree2.c
Log Message:
- move check
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_tree2.c,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -3 -r1.47 -r1.48
--- ewl_tree2.c 12 Jan 2007 10:06:11 -0000 1.47
+++ ewl_tree2.c 12 Jan 2007 10:31:22 -0000 1.48
@@ -643,6 +643,8 @@
DCHECK_PARAM_PTR("col", col);
DCHECK_TYPE("tree", tree, EWL_TREE2_TYPE);
+ if (!tree->headers_visible) DRETURN(DLEVEL_STABLE);
+
if (!col->view->header_fetch)
{
DWARNING("Missing header_fetch callback.");
@@ -746,8 +748,7 @@
{
int r;
- if (tree->headers_visible)
- ewl_tree2_header_build(tree, col, mvc_data, column);
+ 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs