[GRASS-SVN] r53995 - in grass/trunk/gui/wxpython: lmgr mapdisp vdigit
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Nov 23 09:07:20 PST 2012
Author: annakrat
Date: 2012-11-23 09:07:19 -0800 (Fri, 23 Nov 2012)
New Revision: 53995
Modified:
grass/trunk/gui/wxpython/lmgr/frame.py
grass/trunk/gui/wxpython/mapdisp/frame.py
grass/trunk/gui/wxpython/vdigit/toolbars.py
Log:
wxGUI/goutput: remove redundant code
Modified: grass/trunk/gui/wxpython/lmgr/frame.py
===================================================================
--- grass/trunk/gui/wxpython/lmgr/frame.py 2012-11-23 16:08:37 UTC (rev 53994)
+++ grass/trunk/gui/wxpython/lmgr/frame.py 2012-11-23 17:07:19 UTC (rev 53995)
@@ -696,7 +696,7 @@
"""!Run command selected from menu"""
if event:
cmd = self.GetMenuCmd(event)
- self.goutput.RunCmd(cmd, switchPage = False)
+ self.goutput.RunCmd(cmd)
def OnMenuCmd(self, event = None, cmd = []):
"""!Parse command selected from menu"""
Modified: grass/trunk/gui/wxpython/mapdisp/frame.py
===================================================================
--- grass/trunk/gui/wxpython/mapdisp/frame.py 2012-11-23 16:08:37 UTC (rev 53994)
+++ grass/trunk/gui/wxpython/mapdisp/frame.py 2012-11-23 17:07:19 UTC (rev 53995)
@@ -280,8 +280,7 @@
# erase map window
self.MapWindow.EraseMap()
- self._giface.WriteCmdLog(_("Starting 3D view mode..."),
- switchPage = False)
+ self._giface.WriteCmdLog(_("Starting 3D view mode..."))
self.SetStatusText(_("Please wait, loading data..."), 0)
# create GL window
@@ -343,8 +342,7 @@
key = 'statusbarMode',
subkey = 'selection'))
self.SetStatusText(_("Please wait, unloading data..."), 0)
- self._giface.WriteCmdLog(_("Switching back to 2D view mode..."),
- switchPage = False)
+ self._giface.WriteCmdLog(_("Switching back to 2D view mode..."))
if self.MapWindow3D:
self.MapWindow3D.OnClose(event = None)
# switch from MapWindowGL to MapWindow
Modified: grass/trunk/gui/wxpython/vdigit/toolbars.py
===================================================================
--- grass/trunk/gui/wxpython/vdigit/toolbars.py 2012-11-23 16:08:37 UTC (rev 53994)
+++ grass/trunk/gui/wxpython/vdigit/toolbars.py 2012-11-23 17:07:19 UTC (rev 53995)
@@ -855,8 +855,7 @@
lmgr.toolbars['tools'].Enable('vdigit', enable = True)
lmgr.GetLogWindow().GetProgressBar().SetValue(0)
lmgr.GetLogWindow().WriteCmdLog(_("Editing of vector map <%s> successfully finished") % \
- self.mapLayer.GetName(),
- switchPage = False)
+ self.mapLayer.GetName())
# re-active layer
item = self.parent.tree.FindItemByData('maplayer', self.mapLayer)
if item and self.parent.tree.IsItemChecked(item):
More information about the grass-commit
mailing list