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

svn_grass at osgeo.org svn_grass at osgeo.org
Tue May 29 00:08:35 PDT 2012


Author: annakrat
Date: 2012-05-29 00:08:35 -0700 (Tue, 29 May 2012)
New Revision: 51861

Modified:
   grass/trunk/gui/wxpython/gui_core/ghelp.py
Log:
wxGUI: translation status tab: update scrolling

Modified: grass/trunk/gui/wxpython/gui_core/ghelp.py
===================================================================
--- grass/trunk/gui/wxpython/gui_core/ghelp.py	2012-05-29 06:55:45 UTC (rev 51860)
+++ grass/trunk/gui/wxpython/gui_core/ghelp.py	2012-05-29 07:08:35 UTC (rev 51861)
@@ -811,10 +811,8 @@
 
     def OnPaneChanged(self, evt):
         """Redo the layout"""
-        # TODO FIX THE REDO
-        self.Fit()
-        self.statswin.Refresh()
-        self.statswin.Layout()
+        # TODO better to test on Windows
+        self.statswin.SetupScrolling(scrollToTop = False)
 
     def _pageStats(self):
         """Translation statistics info"""



More information about the grass-commit mailing list