On Mittwoch, 8. Oktober 2008, Peter Clifton wrote:
> On Wed, 2008-10-08 at 21:00 +0200, Werner Hoch wrote:
> > The filter list sorts the attributes, too. This is even the main
> > reason why I've created the filter list.

> Use the tree sortable model. Example code in the component selector,
> PCB's component selector, netlist view, ... (See GtkTreeModelSort.)

I've used g_list_sort now and a simple compare function.

rebased and extended:
http://repo.or.cz/w/geda-gaf/werner.git?a=shortlog;h=refs/heads/bugfix

I've added a new option that will display all attributes in alphabetical 
order:
(component-dialog-attributes '(*))
This will be the default option.

For curiousity, the most important attributes are in front of the sorted 
list (device, description, footprint) while less important attributes 
like slotdef,symversion, ... are at the end of the list.

Peter, can you review the whole feature? I think it's complete now.

Regards
Werner




_______________________________________________
geda-dev mailing list
[email protected]
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev

Reply via email to