[GRASS-SVN] r58149 - grass/trunk/gui/wxpython/gmodeler

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Nov 3 14:40:41 PST 2013


Author: martinl
Date: 2013-11-03 14:40:41 -0800 (Sun, 03 Nov 2013)
New Revision: 58149

Modified:
   grass/trunk/gui/wxpython/gmodeler/dialogs.py
   grass/trunk/gui/wxpython/gmodeler/frame.py
Log:
wxGUI/modeler: item list cosmetics


Modified: grass/trunk/gui/wxpython/gmodeler/dialogs.py
===================================================================
--- grass/trunk/gui/wxpython/gmodeler/dialogs.py	2013-11-03 21:53:44 UTC (rev 58148)
+++ grass/trunk/gui/wxpython/gmodeler/dialogs.py	2013-11-03 22:40:41 UTC (rev 58149)
@@ -805,9 +805,11 @@
             else:
                 bId = action.GetBlockId()
                 if not bId:
-                    bId = ''
+                    bId = _('No')
+                else:
+                    bId = _("Yes")
                 self.itemDataMap[i] = [action.GetName(),
-                                       ','.join(map(str, bId)),
+                                       bId,
                                        action.GetLog()]
             
             i += 1

Modified: grass/trunk/gui/wxpython/gmodeler/frame.py
===================================================================
--- grass/trunk/gui/wxpython/gmodeler/frame.py	2013-11-03 21:53:44 UTC (rev 58148)
+++ grass/trunk/gui/wxpython/gmodeler/frame.py	2013-11-03 22:40:41 UTC (rev 58149)
@@ -1472,8 +1472,8 @@
                                     label=" %s " % _("List of items - right-click to delete"))
         
         self.list = ItemListCtrl(parent = self,
-                                 columns = [_("Name"), _("In block"),
-                                            _("Command / Condition")])
+                                 columns = [_("Name"), _("In loop"),
+                                            _("Command")])
         
         self.btnMoveUp = wx.Button(parent=self, id=wx.ID_UP)
         self.btnMoveDown = wx.Button(parent=self, id=wx.ID_DOWN)



More information about the grass-commit mailing list