[GRASS-SVN] r52915 - grass/trunk/gui/wxpython/mapdisp

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Aug 25 13:06:52 PDT 2012


Author: annakrat
Date: 2012-08-25 13:06:52 -0700 (Sat, 25 Aug 2012)
New Revision: 52915

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

Modified: grass/trunk/gui/wxpython/mapdisp/frame.py
===================================================================
--- grass/trunk/gui/wxpython/mapdisp/frame.py	2012-08-25 19:17:23 UTC (rev 52914)
+++ grass/trunk/gui/wxpython/mapdisp/frame.py	2012-08-25 20:06:52 UTC (rev 52915)
@@ -882,7 +882,7 @@
             if '=' in p:
                 parg,pval = p.split('=')[0:2]
                 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