This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
Re: question about function combobox
- To: Insight List <insight at sourceware dot cygnus dot com>
- Subject: Re: question about function combobox
- From: Tom Tromey <tromey at redhat dot com>
- Date: 23 Aug 2001 18:23:40 -0600
- References: <87vgje8l3m.fsf@creche.redhat.com>
- Reply-To: tromey at redhat dot com
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 <tromey@redhat.com>
* 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