[GRASS-dev] Re: [GRASS-trac] #9: wxgrass: startup window does't sort locations/mapsets alphabetically

GRASS-trac trac at osgeo.org
Sun Dec 30 16:49:32 EST 2007


#9: wxgrass: startup window does't sort locations/mapsets alphabetically
----------------------+-----------------------------------------------------
  Reporter:  neteler  |       Owner:  grass-dev at lists.osgeo.org
      Type:  defect   |      Status:  new                      
  Priority:  major    |   Milestone:  6.3.0                    
 Component:  Python   |     Version:  unspecified              
Resolution:           |    Keywords:                           
----------------------+-----------------------------------------------------
Changes (by cmbarton):

 * cc: landa.martin at gmail.com (added)

Comment:

 Replying to [comment:1 cmbarton]:
 > Replying to [ticket:9 neteler]:
 > > The list of locations/mapsets in the wxgrass GUI is not sorted
 alphabetically. A fix is needed in
 > > gui/wxpython/gis_set.py to
 > >
 > > * sort locations list, but keep mapsets aligned to sorted locations
 (simple |wx.LB_SORT doesn't work here)
 >
 > My locations are sorted fine. In fact, the sorting is better in wxPython
 for me than in TclTk, since myLocation and MyLocation sort together rather
 than have all capitalized locations first, with "alocation" following
 "Zlocation".
 >
 > How is your systems misbehaving specifically? Which platform and
 wxPython/Python versions are you using?
 >
 > >
 > > * sort mapsets list; but keep PERMANENT on top of mapsets list
 >
 > This would be convenient. Currenly, PERMANENT sorts in the P's of
 mapsets. Probably not too hard to fix.
 >
 > Michael

 I fixed the mapset list (at least for my system) so that PERMANENT shows
 up at the top.

 Michael

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/9#comment:2>
GRASS-trac <http://grass.osgeo.org>
Commonly referred to as GRASS, this is a Geographic Information System (GIS) used for geospatial data management and analysis, image processing, graphics/maps production, spatial modeling, and visualization. GRASS is currently used in academic and commercial settings around the world, as well as by many governmental agencies and environmental consulting companies.


More information about the grass-dev mailing list