From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mo DeJong To: sourcenav@sources.redhat.com Subject: Re: Target order Date: Thu, 21 Jun 2001 14:01:00 -0000 Message-id: References: <000201c0f989$3c2705c0$f2029fc1@helmut> X-SW-Source: 2001-q2/msg00256.html On Wed, 20 Jun 2001, Helmut Herrmann wrote: > Hello, > > I am working on a project consisting of about 80 targets, 40 debug and > release targets each. Is it possible to sort these targets in the Build > Settings dialog? Currently, it is quite cumbersome to find a specific > target. Thank you for any answer. > > Regards, > Helmut Herrmann You would have to modify the code to do custom sorting. If you are interested in doing this, I suggest you start poking around in snavigator/gui/targetmgr.tcl. There is a block of code like so in the CreateDialog method: # Get a list of targets set targets [GetTargetsList] foreach target ${targets} { $itk_component(tmlist) insert end ${target} sn_log "IDE_DEBUG: target = <${target}>" } You could sort the list before adding it to the list widget at that point. Mo DeJong Red Hat Inc