[GRASS-SVN] r47432 - grass/branches/releasebranch_6_4/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Aug 4 09:06:35 EDT 2011


Author: martinl
Date: 2011-08-04 06:06:35 -0700 (Thu, 04 Aug 2011)
New Revision: 47432

Modified:
   grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/gdialogs.py
Log:
wxGUI: replace mlist() by mlist_grouped()
      (merge r47428 from trunk)


Modified: grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/gdialogs.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/gdialogs.py	2011-08-04 12:56:02 UTC (rev 47431)
+++ grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/gdialogs.py	2011-08-04 13:06:35 UTC (rev 47432)
@@ -860,7 +860,7 @@
         @param type layer type ('raster' or 'vector')
         @param mapset mapset name
         """
-        self.map_layers = grass.mlist(type = type, mapset = mapset)
+        self.map_layers = grass.mlist_grouped(type = type)[mapset]
         self.layers.Set(self.map_layers)
         
         # check all items by default



More information about the grass-commit mailing list