Bläddra i källkod

wxGUI: remove GSoC testing (WMS)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@48786 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 13 år sedan
förälder
incheckning
3a00562e02
2 ändrade filer med 0 tillägg och 19 borttagningar
  1. 0 2
      gui/wxpython/gui_modules/toolbars.py
  2. 0 17
      gui/wxpython/wxgui.py

+ 0 - 2
gui/wxpython/gui_modules/toolbars.py

@@ -1515,8 +1515,6 @@ class LMWorkspaceToolbar(AbstractToolbar):
         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),

+ 0 - 17
gui/wxpython/wxgui.py

@@ -1282,23 +1282,6 @@ class GMFrame(wx.Frame):
         # 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()