Enlightenment CVS committal Author : rbdpngn Project : e17 Module : libs/ewl
Dir : e17/libs/ewl/src/lib Modified Files: ewl_tree.c Log Message: Update the row signals on expansion. =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_tree.c,v retrieving revision 1.20 retrieving revision 1.21 diff -u -3 -r1.20 -r1.21 --- ewl_tree.c 23 Dec 2005 05:54:07 -0000 1.20 +++ ewl_tree.c 23 Dec 2005 15:57:31 -0000 1.21 @@ -860,6 +860,14 @@ if (!EWL_CONTAINER(node)->children) DRETURN(DLEVEL_STABLE); + /* + * Queue the parent tree for configure, this handles the issue of + * redrawing the alternating colors on expand and doing it early + * avoids duplicate or long list walks for queueing child widgets. + */ + if (node->tree) + ewl_widget_configure(node->tree); + tmp = ecore_list_new(); ecore_list_goto_first(EWL_CONTAINER(node)->children); @@ -904,6 +912,14 @@ if (!EWL_CONTAINER(node)->children) DRETURN(DLEVEL_STABLE); + /* + * Queue the parent tree for configure, this handles the issue of + * redrawing the alternating colors on expand and doing it early + * avoids duplicate or long list walks for queueing child widgets. + */ + if (node->tree) + ewl_widget_configure(node->tree); + tmp = ecore_list_new(); ecore_list_goto_first(EWL_CONTAINER(node)->children); ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs