[GRASS-SVN] r48786 - in grass/trunk/gui/wxpython: . gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Oct 13 17:58:31 EDT 2011
Author: martinl
Date: 2011-10-13 14:58:30 -0700 (Thu, 13 Oct 2011)
New Revision: 48786
Modified:
grass/trunk/gui/wxpython/gui_modules/toolbars.py
grass/trunk/gui/wxpython/wxgui.py
Log:
wxGUI: remove GSoC testing (WMS)
Modified: grass/trunk/gui/wxpython/gui_modules/toolbars.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/toolbars.py 2011-10-13 14:06:06 UTC (rev 48785)
+++ grass/trunk/gui/wxpython/gui_modules/toolbars.py 2011-10-13 21:58:30 UTC (rev 48786)
@@ -1515,8 +1515,6 @@
icons = Icons['layerManager']
return self._getToolbarData((('newdisplay', icons["newdisplay"],
self.parent.OnNewDisplay),
- ('newdisplay', icons["newdisplayWMS"],
- self.parent.OnNewDisplayWMS),
(None, ),
('workspaceNew', icons["workspaceNew"],
self.parent.OnWorkspaceNew),
Modified: grass/trunk/gui/wxpython/wxgui.py
===================================================================
--- grass/trunk/gui/wxpython/wxgui.py 2011-10-13 14:06:06 UTC (rev 48785)
+++ grass/trunk/gui/wxpython/wxgui.py 2011-10-13 21:58:30 UTC (rev 48786)
@@ -1282,23 +1282,6 @@
# show ATM window
dbmanager.Show()
- def OnNewDisplayWMS(self, event = None):
- """!Create new layer tree and map display instance"""
- self.NewDisplayWMS()
-
- def NewDisplayWMS(self, show = True):
- Debug.msg(1, "GMFrame.NewDisplay(): idx=%d" % self.disp_idx)
- try:
- from gui_modules.wms.wmsmenu import DisplayWMSMenu
- except:
- gcmd.GError(parent = self.parent,
- message = _("Experimental WMS support for wxGUI not available. "
- "You can install it by '%s'") % \
- "g.extension -s extension=wx.wms")
- return
-
- DisplayWMSMenu()
-
def OnNewDisplay(self, event = None):
"""!Create new layer tree and map display instance"""
self.NewDisplay()
More information about the grass-commit
mailing list