[GRASS-SVN] r58474 - grass/trunk/gui/wxpython/mapswipe

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Dec 16 04:00:19 PST 2013


Author: martinl
Date: 2013-12-16 04:00:19 -0800 (Mon, 16 Dec 2013)
New Revision: 58474

Modified:
   grass/trunk/gui/wxpython/mapswipe/mapwindow.py
Log:
wxGUI/mapswipe: define default background color for map name labels


Modified: grass/trunk/gui/wxpython/mapswipe/mapwindow.py
===================================================================
--- grass/trunk/gui/wxpython/mapswipe/mapwindow.py	2013-12-16 11:59:43 UTC (rev 58473)
+++ grass/trunk/gui/wxpython/mapswipe/mapwindow.py	2013-12-16 12:00:19 UTC (rev 58474)
@@ -168,6 +168,7 @@
         """!Sets text label with map name."""
         self.textdict[textId] = {'bbox': wx.Rect(), 'coords': [10, 10],
                                  'font': self.GetFont(), 'color': wx.BLACK,
+                                 'background' : wx.LIGHT_GREY,
                                  'rotation': 0, 'text': name,
                                  'active': True}
 



More information about the grass-commit mailing list