[GRASS-SVN] r63812 - in grass/trunk: display/d.path vector/v.label vector/v.lrs/v.lrs.label

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Dec 29 04:45:11 PST 2014


Author: martinl
Date: 2014-12-29 04:45:11 -0800 (Mon, 29 Dec 2014)
New Revision: 63812

Modified:
   grass/trunk/display/d.path/main.c
   grass/trunk/vector/v.label/main.c
   grass/trunk/vector/v.lrs/v.lrs.label/main.c
Log:
hcolor/width renamed to highlight_color/width (#2409)


Modified: grass/trunk/display/d.path/main.c
===================================================================
--- grass/trunk/display/d.path/main.c	2014-12-29 12:37:46 UTC (rev 63811)
+++ grass/trunk/display/d.path/main.c	2014-12-29 12:45:11 UTC (rev 63812)
@@ -102,7 +102,7 @@
     color_opt->guisection = _("Rendering");
 
     hcolor_opt = G_define_option();
-    hcolor_opt->key = "hcolor";
+    hcolor_opt->key = "highlight_color";
     hcolor_opt->type = TYPE_STRING;
     hcolor_opt->answer = "red";
     hcolor_opt->description = _("Highlight color");

Modified: grass/trunk/vector/v.label/main.c
===================================================================
--- grass/trunk/vector/v.label/main.c	2014-12-29 12:37:46 UTC (rev 63811)
+++ grass/trunk/vector/v.label/main.c	2014-12-29 12:45:11 UTC (rev 63812)
@@ -170,13 +170,13 @@
     Width->guisection = _("Effects");
 
     Hcolor = G_define_standard_option(G_OPT_CN);
-    Hcolor->key = "hcolor";
+    Hcolor->key = "highlight_color";
     Hcolor->label = _("Highlight color for text");
     Hcolor->answer = "none";
     Hcolor->guisection = _("Colors");
 
     Hwidth = G_define_option();
-    Hwidth->key = "hwidth";
+    Hwidth->key = "highlight_width";
     Hwidth->description = _("Width of highlight coloring");
     Hwidth->type = TYPE_DOUBLE;
     Hwidth->answer = "0";

Modified: grass/trunk/vector/v.lrs/v.lrs.label/main.c
===================================================================
--- grass/trunk/vector/v.lrs/v.lrs.label/main.c	2014-12-29 12:37:46 UTC (rev 63811)
+++ grass/trunk/vector/v.lrs/v.lrs.label/main.c	2014-12-29 12:45:11 UTC (rev 63812)
@@ -201,12 +201,12 @@
     Width->options = "1-100";
 
     Hcolor = G_define_standard_option(G_OPT_CN);
-    Hcolor->key = "hcolor";
+    Hcolor->key = "highlight_color";
     Hcolor->label = _("Highlight color for text");
     Hcolor->answer = "none";
 
     Hwidth = G_define_option();
-    Hwidth->key = "hwidth";
+    Hwidth->key = "highlight_width";
     Hwidth->label = _("Line width of highlight color");
     Hwidth->description = _("Only for d.label output");
     Hwidth->type = TYPE_INTEGER;



More information about the grass-commit mailing list