[GRASS-SVN] r39290 - grass/trunk/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Sep 24 15:47:51 EDT 2009


Author: cmbarton
Date: 2009-09-24 15:47:50 -0400 (Thu, 24 Sep 2009)
New Revision: 39290

Modified:
   grass/trunk/gui/wxpython/gui_modules/mapdisp.py
Log:
backport legend default size change from develbranch_6 r39277

Modified: grass/trunk/gui/wxpython/gui_modules/mapdisp.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/mapdisp.py	2009-09-24 19:47:17 UTC (rev 39289)
+++ grass/trunk/gui/wxpython/gui_modules/mapdisp.py	2009-09-24 19:47:50 UTC (rev 39290)
@@ -1842,7 +1842,7 @@
         
         id = 1 # index for overlay layer in render
 
-        cmd = ['d.legend']
+        cmd = ['d.legend', 'at=5,50,2,5']
         if self.tree.layer_selected and \
                 self.tree.GetPyData(self.tree.layer_selected)[0]['type'] == 'raster':
             cmd.append('map=%s' % self.tree.GetPyData(self.tree.layer_selected)[0]['maplayer'].name)



More information about the grass-commit mailing list