[GRASS-SVN] r62027 - in grass/trunk/gui/wxpython: core gui_core
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Sep 17 18:14:43 PDT 2014
Author: annakrat
Date: 2014-09-17 18:14:43 -0700 (Wed, 17 Sep 2014)
New Revision: 62027
Modified:
grass/trunk/gui/wxpython/core/globalvar.py
grass/trunk/gui/wxpython/gui_core/gselect.py
Log:
wxGUI: fix after removing g.mlist
Modified: grass/trunk/gui/wxpython/core/globalvar.py
===================================================================
--- grass/trunk/gui/wxpython/core/globalvar.py 2014-09-17 22:43:22 UTC (rev 62026)
+++ grass/trunk/gui/wxpython/core/globalvar.py 2014-09-18 01:14:43 UTC (rev 62027)
@@ -201,12 +201,6 @@
"""@Toolbar icon size"""
toolbarSize = (24, 24)
-"""@Is g.list available?"""
-if 'g.list' in grassCmd:
- have_list = True
-else:
- have_list = False
-
"""@Check version of wxPython, use agwStyle for 2.8.11+"""
hasAgw = CheckWxVersion()
Modified: grass/trunk/gui/wxpython/gui_core/gselect.py
===================================================================
--- grass/trunk/gui/wxpython/gui_core/gselect.py 2014-09-17 22:43:22 UTC (rev 62026)
+++ grass/trunk/gui/wxpython/gui_core/gselect.py 2014-09-18 01:14:43 UTC (rev 62027)
@@ -469,12 +469,8 @@
else:
filesdict = None
else:
- 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)
+ filesdict = grass.list_grouped(elementdict[element],
+ check_search_path=False)
# add extra items first
if self.extraItems:
More information about the grass-commit
mailing list