[GRASS-SVN] r36369 -
grass/branches/develbranch_6/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Mar 13 17:33:23 EDT 2009
Author: cmbarton
Date: 2009-03-13 17:33:23 -0400 (Fri, 13 Mar 2009)
New Revision: 36369
Modified:
grass/branches/develbranch_6/gui/wxpython/gui_modules/gselect.py
Log:
Use dictionary sort for lists of GIS elements
Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/gselect.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/gselect.py 2009-03-13 21:25:36 UTC (rev 36368)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/gselect.py 2009-03-13 21:33:23 UTC (rev 36369)
@@ -227,7 +227,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