[GRASS-SVN] r62624 - grass/trunk/gui/wxpython/lmgr
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Nov 5 12:28:35 PST 2014
Author: martinl
Date: 2014-11-05 12:28:35 -0800 (Wed, 05 Nov 2014)
New Revision: 62624
Modified:
grass/trunk/gui/wxpython/lmgr/layertree.py
Log:
wxGUI: be less verbose when changing computational region contextual menu
Modified: grass/trunk/gui/wxpython/lmgr/layertree.py
===================================================================
--- grass/trunk/gui/wxpython/lmgr/layertree.py 2014-11-05 20:23:16 UTC (rev 62623)
+++ grass/trunk/gui/wxpython/lmgr/layertree.py 2014-11-05 20:28:35 UTC (rev 62624)
@@ -669,11 +669,10 @@
mapLayer = self.GetLayerInfo(self.layer_selected, key = 'maplayer')
cmd = ['g.region',
- '-p',
'zoom=%s' % mapLayer.GetName()]
# print output to command log area
- self._giface.RunCmd(cmd, notification=Notification.HIGHLIGHT)
+ self._giface.RunCmd(cmd, notification=Notification.NO_NOTIFICATION)
# re-render map display
self._giface.GetMapWindow().UpdateMap(render=True)
@@ -708,11 +707,10 @@
# print output to command log area
if len(cmd) > 1:
- cmd.append('-p')
if mltype == '3d-raster':
cmd.append('-3')
self._giface.RunCmd(cmd, compReg = False,
- notification=Notification.HIGHLIGHT)
+ notification=Notification.NO_NOTIFICATION)
# re-render map display
self._giface.GetMapWindow().UpdateMap(render=True)
More information about the grass-commit
mailing list