[GRASS-SVN] r54908 - grass/trunk/gui/wxpython/core

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Feb 4 09:44:34 PST 2013


Author: wenzeslaus
Date: 2013-02-04 09:44:34 -0800 (Mon, 04 Feb 2013)
New Revision: 54908

Modified:
   grass/trunk/gui/wxpython/core/settings.py
Log:
wxGUI/scatter: quick fix for scatterplot (adding useless settings values)

Modified: grass/trunk/gui/wxpython/core/settings.py
===================================================================
--- grass/trunk/gui/wxpython/core/settings.py	2013-02-04 16:16:26 UTC (rev 54907)
+++ grass/trunk/gui/wxpython/core/settings.py	2013-02-04 17:44:34 UTC (rev 54908)
@@ -541,6 +541,12 @@
                     'pfill' : 'solid',
                     'psize' : 1,
                     'ptype' : 'dot',
+                    # FIXME: this is only a quick fix
+                    # using also names used in a base class for compatibility
+                    # probably used only for initialization
+                    # base should be rewritten to not require this
+                    'pwidth' : 1,  # required by wxplot/base, maybe useless here
+                    'pstyle' : 'dot', # line pen style
                     'plegend' : _('Data point'),
                     0 : {'datatype' : 'CELL'},
                     1 : {'datatype' : 'CELL'},



More information about the grass-commit mailing list