[GRASS-SVN] r62661 - grass/branches/releasebranch_7_0/gui/wxpython/lmgr
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Nov 8 06:17:18 PST 2014
Author: martinl
Date: 2014-11-08 06:17:18 -0800 (Sat, 08 Nov 2014)
New Revision: 62661
Modified:
grass/branches/releasebranch_7_0/gui/wxpython/lmgr/layertree.py
Log:
wxGUI: be less verbose when changing computational region contextual menu
(merge r62624 from trunk)
Modified: grass/branches/releasebranch_7_0/gui/wxpython/lmgr/layertree.py
===================================================================
--- grass/branches/releasebranch_7_0/gui/wxpython/lmgr/layertree.py 2014-11-08 14:12:46 UTC (rev 62660)
+++ grass/branches/releasebranch_7_0/gui/wxpython/lmgr/layertree.py 2014-11-08 14:17:18 UTC (rev 62661)
@@ -666,11 +666,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)
@@ -705,11 +704,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