Explorar el Código

wxGUI: d.vect's fcolor -> fill_color

git-svn-id: https://svn.osgeo.org/grass/grass/branches/releasebranch_7_0@62959 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa hace 10 años
padre
commit
b5a4450b84

+ 2 - 2
gui/wxpython/gui_core/forms.py

@@ -2502,9 +2502,9 @@ if __name__ == "__main__":
             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.

+ 1 - 1
gui/wxpython/mapdisp/frame.py

@@ -985,7 +985,7 @@ class MapFrame(SingleMapFrame):
         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)

+ 1 - 1
gui/wxpython/vdigit/mapwindow.py

@@ -778,7 +778,7 @@ class VDigitWindow(BufferedMapWindow):
                             'cats=%s' % ListOfCatsToRange(self.copyIds),
                             '-i',
                             'color=%s' % colorStr,
-                            'fcolor=%s' % colorStr,
+                            'fill_color=%s' % colorStr,
                             'type=point,line,boundary,centroid',
                             'width=2']