[GRASS-SVN] r51880 - grass/trunk/gui/wxpython/gui_core

svn_grass at osgeo.org svn_grass at osgeo.org
Wed May 30 02:58:43 PDT 2012


Author: lucadelu
Date: 2012-05-30 02:58:43 -0700 (Wed, 30 May 2012)
New Revision: 51880

Modified:
   grass/trunk/gui/wxpython/gui_core/ghelp.py
Log:
white background color for tabs in About GUI

Modified: grass/trunk/gui/wxpython/gui_core/ghelp.py
===================================================================
--- grass/trunk/gui/wxpython/gui_core/ghelp.py	2012-05-30 09:57:52 UTC (rev 51879)
+++ grass/trunk/gui/wxpython/gui_core/ghelp.py	2012-05-30 09:58:43 UTC (rev 51880)
@@ -395,6 +395,7 @@
         vInfo = grass.version()
         
         infoTxt = ScrolledPanel(parent = panel)
+        infoTxt.SetBackgroundColour('WHITE')
         infoTxt.SetupScrolling()
         infoSizer = wx.BoxSizer(wx.VERTICAL)
         infoGridSizer = wx.GridBagSizer(vgap = 5, hgap = 5)
@@ -537,7 +538,7 @@
         
         # put text into a scrolling panel
         copyrightwin = ScrolledPanel(self)
-                                     
+        copyrightwin.SetBackgroundColour('WHITE')
         copyrighttxt = wx.StaticText(copyrightwin, id = wx.ID_ANY, label = copytext)
         copyrightwin.SetAutoLayout(True)
         copyrightwin.sizer = wx.BoxSizer(wx.VERTICAL)
@@ -560,6 +561,7 @@
             license = _('%s file missing') % 'GPL.TXT'
         # put text into a scrolling panel
         licensewin = ScrolledPanel(self)
+        licensewin.SetBackgroundColour('WHITE')
         licensetxt = wx.StaticText(licensewin, id = wx.ID_ANY, label = license)
         licensewin.SetAutoLayout(True)
         licensewin.sizer = wx.BoxSizer(wx.VERTICAL)
@@ -582,6 +584,7 @@
         else:
             authors = _('%s file missing') % 'AUTHORS'
         authorwin = ScrolledPanel(self)
+        authorwin.SetBackgroundColour('WHITE')
         authortxt = wx.StaticText(authorwin, id = wx.ID_ANY, label = authors)
         authorwin.SetAutoLayout(True)
         authorwin.SetupScrolling()
@@ -629,6 +632,7 @@
             contribs = None
         
         contribwin = ScrolledPanel(self)
+        contribwin.SetBackgroundColour('WHITE')
         contribwin.SetAutoLayout(True)
         contribwin.SetupScrolling()
         contribwin.sizer = wx.BoxSizer(wx.VERTICAL)
@@ -690,6 +694,7 @@
             translators = None
         
         translatorswin = ScrolledPanel(self)
+        translatorswin.SetBackgroundColour('WHITE')
         translatorswin.SetAutoLayout(True)
         translatorswin.SetupScrolling()
         translatorswin.sizer = wx.BoxSizer(wx.VERTICAL)
@@ -839,6 +844,7 @@
         else:
             jsStats = None
         self.statswin = ScrolledPanel(self)
+        self.statswin.SetBackgroundColour('WHITE')
         self.statswin.SetAutoLayout(True)
 
         if not jsStats:



More information about the grass-commit mailing list