[GRASS-SVN] r30914 - grass/trunk/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Apr 9 07:31:54 EDT 2008


Author: martinl
Date: 2008-04-09 07:31:53 -0400 (Wed, 09 Apr 2008)
New Revision: 30914

Modified:
   grass/trunk/gui/wxpython/gui_modules/gdialogs.py
Log:
wxGUI: cosmetics in dialog info, define raster map name for legend first

Modified: grass/trunk/gui/wxpython/gui_modules/gdialogs.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/gdialogs.py	2008-04-09 11:24:29 UTC (rev 30913)
+++ grass/trunk/gui/wxpython/gui_modules/gdialogs.py	2008-04-09 11:31:53 UTC (rev 30914)
@@ -238,6 +238,9 @@
         label = wx.StaticText(parent=self, id=wx.ID_ANY,
                               label=_("Drag %s with mouse in pointer mode to position.\n"
                                       "Double-click to change options." % ctrltxt))
+        if self.name == 'legend':
+            label.SetLabel(label.GetLabel() + _('\nDefine raster map name for legend in '
+                                                'properties dialog.'))
         box.Add(item=label, proportion=0,
                 flag=wx.ALIGN_CENTRE|wx.ALL, border=5)
         sizer.Add(item=box, proportion=0,



More information about the grass-commit mailing list