[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-cvs: CVS update: x_compselect.c



  User: peterb  
  Date: 07/06/09 16:30:14

  Modified:    .        x_compselect.c
  Log:
  Fix gschem's sort-component-library option
  
  
  
  In the last release, the sort-component-library gschemrc option did
  
  nothing.  This patch corrects the issue, by adding an argument to
  
  s_clib_get_sources which enables or disables sorting the list of
  
  component sources.
  
  
  
  
  Revision  Changes    Path
  1.24                 eda/geda/gaf/gschem/src/x_compselect.c
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: x_compselect.c
  ===================================================================
  RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/gschem/src/x_compselect.c,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -b -r1.23 -r1.24
  --- x_compselect.c	9 Jun 2007 12:17:29 -0000	1.23
  +++ x_compselect.c	9 Jun 2007 20:30:14 -0000	1.24
  @@ -563,7 +563,7 @@
     store = (GtkTreeStore*)gtk_tree_store_new (1, G_TYPE_POINTER);
     
     /* populate component store */
  -  srchead = s_clib_get_sources ();
  +  srchead = s_clib_get_sources (global_window_current->sort_component_library != 0);
     for (srclist = srchead; 
          srclist != NULL; 
          srclist = g_list_next (srclist)) {
  
  
  


_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs