[GRASS-SVN] r50366 - grass/branches/develbranch_6/gui/wxpython/lmgr

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Jan 21 14:04:40 EST 2012


Author: martinl
Date: 2012-01-21 11:04:40 -0800 (Sat, 21 Jan 2012)
New Revision: 50366

Modified:
   grass/branches/develbranch_6/gui/wxpython/lmgr/frame.py
Log:
wxGUI/menu: fix histogramming tool
	    (merge r50365 from trunk)


Modified: grass/branches/develbranch_6/gui/wxpython/lmgr/frame.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/lmgr/frame.py	2012-01-21 18:58:41 UTC (rev 50365)
+++ grass/branches/develbranch_6/gui/wxpython/lmgr/frame.py	2012-01-21 19:04:40 UTC (rev 50366)
@@ -1217,9 +1217,10 @@
     def OnHistogram(self, event):
         """!Init histogram display canvas and tools
         """
+        from modules.histogram import HistogramFrame
         win = HistogramFrame(self)
         
-        win.CentreOnParent()
+        win.CentreOnScreen()
         win.Show()
         win.Refresh()
         win.Update()



More information about the grass-commit mailing list