[GRASS-SVN] r36370 -
grass/branches/releasebranch_6_4/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Mar 13 17:36:18 EDT 2009
Author: cmbarton
Date: 2009-03-13 17:36:18 -0400 (Fri, 13 Mar 2009)
New Revision: 36370
Modified:
grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/gselect.py
Log:
Use dictionary sort for lists of GIS elements
Modified: grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/gselect.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/gselect.py 2009-03-13 21:33:23 UTC (rev 36369)
+++ grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/gselect.py 2009-03-13 21:36:18 UTC (rev 36370)
@@ -226,7 +226,7 @@
self.seltree.SetItemTextColour(dir_node,wx.Colour(50,50,200))
try:
elem_list = filesdict[dir]
- elem_list.sort()
+ elem_list.sort(key=str.lower)
for elem in elem_list:
if elem != '':
fullqElem = elem + '@' + dir
More information about the grass-commit
mailing list