Enlightenment CVS committal Author : leviathan Project : e17 Module : proto
Dir : e17/proto/etk-perl/etk_test Modified Files: etk_test.pl Log Message: - C tree sorting functions for numerical and alphabetical sorting. =================================================================== RCS file: /cvs/e/e17/proto/etk-perl/etk_test/etk_test.pl,v retrieving revision 1.26 retrieving revision 1.27 diff -u -3 -r1.26 -r1.27 --- etk_test.pl 20 Jul 2006 23:16:21 -0000 1.26 +++ etk_test.pl 22 Jul 2006 20:06:08 -0000 1.27 @@ -454,7 +454,8 @@ $hbox->AddButton("Sort")->SignalConnect("clicked", sub { - $tree->Sort(\&tree_col2_compare_cb, $ascendant, $tree->cols->[1], undef); + #$tree->Sort(\&tree_col2_compare_cb, $ascendant, $tree->cols->[1], undef); + $tree->SortNumeric($ascendant, $tree->cols->[1], undef); $ascendant = !$ascendant; } )->PackStart(); ------------------------------------------------------------------------- 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