[GRASS-SVN] r53294 - grass/trunk/gui/wxpython/gui_core
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Sep 29 23:40:33 PDT 2012
Author: annakrat
Date: 2012-09-29 23:40:32 -0700 (Sat, 29 Sep 2012)
New Revision: 53294
Modified:
grass/trunk/gui/wxpython/gui_core/gselect.py
Log:
wxGUI: enable temporal elements in command dialogs
Modified: grass/trunk/gui/wxpython/gui_core/gselect.py
===================================================================
--- grass/trunk/gui/wxpython/gui_core/gselect.py 2012-09-30 06:24:36 UTC (rev 53293)
+++ grass/trunk/gui/wxpython/gui_core/gselect.py 2012-09-30 06:40:32 UTC (rev 53294)
@@ -49,6 +49,7 @@
from core import globalvar
import grass.script as grass
+import grass.temporal as tgis
from grass.script import task as gtask
from core.gcmd import RunCommand, GError, GMessage
@@ -319,17 +320,24 @@
'3d.view':'3dview',
'3dview':'3dview',
'3D viewing parameters':'3dview',
- '3D view parameters':'3dview'}
+ '3D view parameters':'3dview',
+ 'stds':'stds',
+ 'strds':'strds',
+ 'str3ds':'str3ds',
+ 'stvds':'stvds'}
if element not in elementdict:
self.AddItem(_('Not selectable element'))
return
- if globalvar.have_mlist:
- filesdict = grass.mlist_grouped(elementdict[element],
- check_search_path = False)
+ if element in ('stds', 'strds', 'str3ds', 'stvds'):
+ filesdict = tgis.tlist_grouped(elementdict[element])
else:
- filesdict = grass.list_grouped(elementdict[element],
+ if globalvar.have_mlist:
+ filesdict = grass.mlist_grouped(elementdict[element],
+ check_search_path = False)
+ else:
+ filesdict = grass.list_grouped(elementdict[element],
check_search_path = False)
# list of mapsets in current location
More information about the grass-commit
mailing list