[GRASS-SVN] r62958 - in grass/trunk/gui/wxpython: gui_core mapdisp vdigit

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Nov 26 01:04:57 PST 2014


Author: martinl
Date: 2014-11-26 01:04:57 -0800 (Wed, 26 Nov 2014)
New Revision: 62958

Modified:
   grass/trunk/gui/wxpython/gui_core/forms.py
   grass/trunk/gui/wxpython/mapdisp/frame.py
   grass/trunk/gui/wxpython/vdigit/mapwindow.py
Log:
wxGUI: d.vect's fcolor -> fill_color


Modified: grass/trunk/gui/wxpython/gui_core/forms.py
===================================================================
--- grass/trunk/gui/wxpython/gui_core/forms.py	2014-11-26 09:00:46 UTC (rev 62957)
+++ grass/trunk/gui/wxpython/gui_core/forms.py	2014-11-26 09:04:57 UTC (rev 62958)
@@ -2502,9 +2502,9 @@
             task.get_param('map')['value'] = "map_name"
             task.get_flag('i')['value'] = True
             task.get_param('layer')['value'] = 1
-            task.get_param('bcolor')['value'] = "red"
+            task.get_param('label_bcolor')['value'] = "red"
             # the default parameter display is added automatically
-            assert ' '.join(task.get_cmd()) == "d.vect -i map=map_name layer=1 display=shape bcolor=red"
+            assert ' '.join(task.get_cmd()) == "d.vect -i map=map_name layer=1 display=shape label_bcolor=red"
             print "Creation of task successful"
         # Test interface building with handmade grassTask,
         # possibly outside of a GRASS session.

Modified: grass/trunk/gui/wxpython/mapdisp/frame.py
===================================================================
--- grass/trunk/gui/wxpython/mapdisp/frame.py	2014-11-26 09:00:46 UTC (rev 62957)
+++ grass/trunk/gui/wxpython/mapdisp/frame.py	2014-11-26 09:04:57 UTC (rev 62958)
@@ -985,7 +985,7 @@
         pattern = ["d.vect",
                    "map=%s" % name,
                    "color=%s" % colorStr,
-                   "fcolor=%s" % colorStr,
+                   "fill_color=%s" % colorStr,
                    "width=%d"  % UserSettings.Get(group = 'atm', key = 'highlight', subkey = 'width')]
         if icon != '':
             pattern.append('icon=%s' % icon)

Modified: grass/trunk/gui/wxpython/vdigit/mapwindow.py
===================================================================
--- grass/trunk/gui/wxpython/vdigit/mapwindow.py	2014-11-26 09:00:46 UTC (rev 62957)
+++ grass/trunk/gui/wxpython/vdigit/mapwindow.py	2014-11-26 09:04:57 UTC (rev 62958)
@@ -778,7 +778,7 @@
                             'cats=%s' % ListOfCatsToRange(self.copyIds),
                             '-i',
                             'color=%s' % colorStr,
-                            'fcolor=%s' % colorStr,
+                            'fill_color=%s' % colorStr,
                             'type=point,line,boundary,centroid',
                             'width=2']
                 



More information about the grass-commit mailing list