[GRASS-SVN] r48413 - in grass/branches/develbranch_6/gui/wxpython: gui_modules icons

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Sep 22 11:43:20 EDT 2011


Author: martinl
Date: 2011-09-22 08:43:19 -0700 (Thu, 22 Sep 2011)
New Revision: 48413

Modified:
   grass/branches/develbranch_6/gui/wxpython/gui_modules/histogram.py
   grass/branches/develbranch_6/gui/wxpython/icons/icon.py
Log:
wxGUI: simplify histogram labels (cosmetics)
       (merge r48412 from trunk)


Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/histogram.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/histogram.py	2011-09-22 15:36:53 UTC (rev 48412)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/histogram.py	2011-09-22 15:43:19 UTC (rev 48413)
@@ -259,11 +259,11 @@
         self.Draw(self.pdc, pdctype = 'clear')
         
 class HistFrame(wx.Frame):
-    """!Main frame for hisgram display window.  Uses d.histogram
+    """!Main frame for hisgram display window. Uses d.histogram
     rendered onto canvas
     """
     def __init__(self, parent = None, id = wx.ID_ANY,
-                 title = _("GRASS GIS Histogram of image or raster map"),
+                 title = _("GRASS GIS Histogram of raster map"),
                  style = wx.DEFAULT_FRAME_STYLE, **kwargs):
         wx.Frame.__init__(self, parent, id, title, style = style, **kwargs)
         self.SetIcon(wx.Icon(os.path.join(globalvar.ETCICONDIR, 'grass.ico'), wx.BITMAP_TYPE_ICO))

Modified: grass/branches/develbranch_6/gui/wxpython/icons/icon.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/icons/icon.py	2011-09-22 15:36:53 UTC (rev 48412)
+++ grass/branches/develbranch_6/gui/wxpython/icons/icon.py	2011-09-22 15:43:19 UTC (rev 48413)
@@ -193,7 +193,7 @@
         'addText'    : MetaIcon(img = iconSet.get('text-add', wx.ART_ERROR),
                                 label = _('Add text layer')),
         'histogram'  : MetaIcon(img = iconSet.get('layer-raster-histogram', wx.ART_ERROR),
-                                label = _('Create histogram of image or raster file')),
+                                label = _('Create histogram of raster map')),
         },
     'layerManager' : {
         'newdisplay'   : MetaIcon(img = iconSet.get('monitor-create', wx.ART_ERROR),



More information about the grass-commit mailing list