Enlightenment CVS committal Author : moom Project : e17 Module : libs/etk
Dir : e17/libs/etk/src/lib Modified Files: etk_tree.c Log Message: * [Tree] The hscrollbar no longer takes into account the invisible cols =================================================================== RCS file: /cvs/e/e17/libs/etk/src/lib/etk_tree.c,v retrieving revision 1.83 retrieving revision 1.84 diff -u -3 -r1.83 -r1.84 --- etk_tree.c 22 Jan 2007 22:51:35 -0000 1.83 +++ etk_tree.c 26 Jan 2007 23:09:45 -0000 1.84 @@ -2060,7 +2060,10 @@ scroll_size->w = 0; for (i = 0; i < tree->num_cols; i++) - scroll_size->w += tree->columns[i]->width; + { + if (tree->columns[i]->visible) + scroll_size->w += tree->columns[i]->width; + } scroll_size->h = tree->root.num_visible_children * tree->rows_height; } ------------------------------------------------------------------------- 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