[GRASS-SVN] r34383 - grass/branches/develbranch_6/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Nov 19 01:54:12 EST 2008


Author: martinl
Date: 2008-11-19 01:54:12 -0500 (Wed, 19 Nov 2008)
New Revision: 34383

Modified:
   grass/branches/develbranch_6/gui/wxpython/gui_modules/disp_print.py
   grass/branches/develbranch_6/gui/wxpython/gui_modules/histogram.py
   grass/branches/develbranch_6/gui/wxpython/gui_modules/mapdisp.py
Log:
glynn: Remove PrintOptions.OnReset()
	(too quick backport from trunk, reverted)


Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/disp_print.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/disp_print.py	2008-11-19 02:39:16 UTC (rev 34382)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/disp_print.py	2008-11-19 06:54:12 UTC (rev 34383)
@@ -156,6 +156,3 @@
         else:
             self.printData = wx.PrintData( printer.GetPrintDialogData().GetPrintData() )
         printout.Destroy()
-
-    def OnReset(self):
-	self.printData = None

Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/histogram.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/histogram.py	2008-11-19 02:39:16 UTC (rev 34382)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/histogram.py	2008-11-19 06:54:12 UTC (rev 34383)
@@ -518,10 +518,6 @@
         printmenu.AppendItem(doprint)
         self.Bind(wx.EVT_MENU, self.printopt.OnDoPrint, doprint)
 
-        reset = wx.MenuItem(printmenu, -1,'Reset')
-        printmenu.AppendItem(reset)
-        self.Bind(wx.EVT_MENU, self.printopt.OnReset, reset)
-
         # Popup the menu.  If an item is selected then its handler
         # will be called before PopupMenu returns.
         self.PopupMenu(printmenu)

Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/mapdisp.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/mapdisp.py	2008-11-19 02:39:16 UTC (rev 34382)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/mapdisp.py	2008-11-19 06:54:12 UTC (rev 34383)
@@ -3303,10 +3303,6 @@
         printmenu.AppendItem(doprint)
         self.Bind(wx.EVT_MENU, self.printopt.OnDoPrint, doprint)
 
-        reset = wx.MenuItem(printmenu, -1,'Reset')
-        printmenu.AppendItem(reset)
-        self.Bind(wx.EVT_MENU, self.printopt.OnReset, reset)
-
         # Popup the menu.  If an item is selected then its handler
         # will be called before PopupMenu returns.
         self.PopupMenu(printmenu)



More information about the grass-commit mailing list