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

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Oct 1 12:21:04 EDT 2011


Author: cmbarton
Date: 2011-10-01 09:21:04 -0700 (Sat, 01 Oct 2011)
New Revision: 48584

Modified:
   grass/trunk/gui/wxpython/gui_modules/mapdisp.py
   grass/trunk/gui/wxpython/gui_modules/toolbars.py
Log:
wxgui: updating toolbars.py and mapdisp.py calls to new profile and histogramming tools.

Modified: grass/trunk/gui/wxpython/gui_modules/mapdisp.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/mapdisp.py	2011-10-01 15:21:30 UTC (rev 48583)
+++ grass/trunk/gui/wxpython/gui_modules/mapdisp.py	2011-10-01 16:21:04 UTC (rev 48584)
@@ -1645,7 +1645,7 @@
                 self.tree.GetPyData(self.tree.layer_selected)[0]['type'] == 'raster':
             raster.append(self.tree.GetPyData(self.tree.layer_selected)[0]['maplayer'].name)
 
-        self.profile = wxplot.ProfileFrame(self,
+        self.profile = ProfileFrame(self,
                                             id = wx.ID_ANY, pos = wx.DefaultPosition, size = (700,300),
                                             style = wx.DEFAULT_FRAME_STYLE, 
                                             rasterList = raster)

Modified: grass/trunk/gui/wxpython/gui_modules/toolbars.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/toolbars.py	2011-10-01 15:21:30 UTC (rev 48583)
+++ grass/trunk/gui/wxpython/gui_modules/toolbars.py	2011-10-01 16:21:04 UTC (rev 48584)
@@ -1281,7 +1281,7 @@
                                       self.parent.PrintMenu),
                                      (None, ),
                                      ('settings', icons["options"],
-                                      self.parent.ProfileOptionsMenu),
+                                      self.parent.PlotOptionsMenu),
                                      ('quit', icons["quit"],
                                       self.parent.OnQuit),
                                      ))
@@ -1450,7 +1450,7 @@
                                       self.parent.PrintMenu),
                                      (None, ),
                                      ('settings', icons["options"],
-                                      self.parent.HistOptionsMenu),
+                                      self.parent.PlotOptionsMenu),
                                      ('quit', icons["quit"],
                                       self.parent.OnQuit),
                                      ))



More information about the grass-commit mailing list