[GRASS-SVN] r39297 - grass/branches/releasebranch_6_4/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Sep 26 18:15:37 EDT 2009


Author: cmbarton
Date: 2009-09-26 18:15:37 -0400 (Sat, 26 Sep 2009)
New Revision: 39297

Modified:
   grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/mapdisp.py
Log:
Reduced default legend size. Backported from develbranch_6 r39277

Modified: grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/mapdisp.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/mapdisp.py	2009-09-26 22:12:27 UTC (rev 39296)
+++ grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/mapdisp.py	2009-09-26 22:15:37 UTC (rev 39297)
@@ -4008,7 +4008,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