From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Tromey To: Insight List Subject: Re: question about function combobox Date: Thu, 23 Aug 2001 16:49:00 -0000 Message-id: <87y9oa5mr7.fsf@creche.redhat.com> References: <87vgje8l3m.fsf@creche.redhat.com> X-SW-Source: 2001-q3/msg00182.html Tom> Is there a reason why the function names aren't alphabetical? Tom> This would be a simple change in SrcWin::fillFuncCB. And here it is. Ok to commit? Tom Index: ChangeLog from Tom Tromey * library/srcwin.itb (SrcWin::fillFuncCB): Sort function names. Index: library/srcwin.itb =================================================================== RCS file: /cvs/src/src/gdb/gdbtk/library/srcwin.itb,v retrieving revision 1.15 diff -u -r1.15 srcwin.itb --- library/srcwin.itb 2001/06/04 15:49:53 1.15 +++ library/srcwin.itb 2001/08/23 23:48:28 @@ -386,7 +386,7 @@ _set_name "" return } - foreach f $listfuncs { + foreach f [lsort -increasing $listfuncs] { lassign $f func mang set _mangled_func($func) $mang $_statbar.func list insert end $func