[GRASS-SVN] r52917 - grass/branches/releasebranch_6_4/gui/wxpython/mapdisp

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Aug 25 13:10:16 PDT 2012


Author: annakrat
Date: 2012-08-25 13:10:16 -0700 (Sat, 25 Aug 2012)
New Revision: 52917

Modified:
   grass/branches/releasebranch_6_4/gui/wxpython/mapdisp/frame.py
Log:
wxGUI: icon size is float, not int (#1035)

Modified: grass/branches/releasebranch_6_4/gui/wxpython/mapdisp/frame.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/mapdisp/frame.py	2012-08-25 20:08:33 UTC (rev 52916)
+++ grass/branches/releasebranch_6_4/gui/wxpython/mapdisp/frame.py	2012-08-25 20:10:16 UTC (rev 52917)
@@ -879,7 +879,7 @@
             if '=' in p:
                 parg,pval = p.split('=')
                 if parg == 'icon': icon = pval
-                elif parg == 'size': size = int(pval)
+                elif parg == 'size': size = float(pval)
 
         pattern = ["d.vect",
                    "map=%s" % name,



More information about the grass-commit mailing list