[GRASS-SVN] r51614 - grass/trunk/gui/wxpython/lmgr

svn_grass at osgeo.org svn_grass at osgeo.org
Thu May 10 08:35:14 EDT 2012


Author: martinl
Date: 2012-05-10 05:35:13 -0700 (Thu, 10 May 2012)
New Revision: 51614

Modified:
   grass/trunk/gui/wxpython/lmgr/toolbars.py
Log:
wxGUI/lmgr: add icon 'import from wms server' to the toolbar

Modified: grass/trunk/gui/wxpython/lmgr/toolbars.py
===================================================================
--- grass/trunk/gui/wxpython/lmgr/toolbars.py	2012-05-10 12:27:23 UTC (rev 51613)
+++ grass/trunk/gui/wxpython/lmgr/toolbars.py	2012-05-10 12:35:13 UTC (rev 51614)
@@ -132,6 +132,8 @@
         icons = {
             'import'  : MetaIcon(img = 'layer-import',
                                  label = _('Import/link raster or vector data')),
+            'wms'     : MetaIcon(img = 'layer-wms-add',
+                                 label = _("Import data from WMS server")),
             'mapcalc' : MetaIcon(img = 'calculator',
                                  label = _('Raster Map Calculator')),
             'modeler' : MetaIcon(img = 'modeler-main',
@@ -144,6 +146,8 @@
         
         return self._getToolbarData((('importMap', icons["import"],
                                       self.parent.OnImportMenu),
+                                     ('importWMS', icons["wms"],
+                                      self.parent.OnImportWMS),
                                      (None, ),
                                      ('mapCalc', icons["mapcalc"],
                                       self.parent.OnMapCalculator),



More information about the grass-commit mailing list