[GRASS-SVN] r47328 - grass/trunk/gui/wxpython

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Jul 31 05:18:39 EDT 2011


Author: martinl
Date: 2011-07-31 02:18:39 -0700 (Sun, 31 Jul 2011)
New Revision: 47328

Modified:
   grass/trunk/gui/wxpython/wxgui.py
Log:
wxGUI: fix wx.wms (installed as a package)


Modified: grass/trunk/gui/wxpython/wxgui.py
===================================================================
--- grass/trunk/gui/wxpython/wxgui.py	2011-07-31 09:17:58 UTC (rev 47327)
+++ grass/trunk/gui/wxpython/wxgui.py	2011-07-31 09:18:39 UTC (rev 47328)
@@ -1243,11 +1243,12 @@
     def NewDisplayWMS(self, show = True):
         Debug.msg(1, "GMFrame.NewDisplay(): idx=%d" % self.disp_idx)
         try:
-            from gui_modules.wmsmenu import DisplayWMSMenu
+            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')
+                        message = _("Experimental WMS support for wxGUI not available. "
+                                    "You can install it by '%s'") % \
+                            "g.extension -s extension=wx.wms")
             return
         
     	DisplayWMSMenu()



More information about the grass-commit mailing list