[GRASS-SVN] r67227 - in grass/trunk/gui/wxpython: lmgr xml

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Dec 18 09:35:14 PST 2015


Author: martinl
Date: 2015-12-18 09:35:14 -0800 (Fri, 18 Dec 2015)
New Revision: 67227

Modified:
   grass/trunk/gui/wxpython/lmgr/frame.py
   grass/trunk/gui/wxpython/xml/wxgui_items.xml
Log:
wxGUI: remove not needed OnCloseWindowExitGRASS

Modified: grass/trunk/gui/wxpython/lmgr/frame.py
===================================================================
--- grass/trunk/gui/wxpython/lmgr/frame.py	2015-12-18 17:28:28 UTC (rev 67226)
+++ grass/trunk/gui/wxpython/lmgr/frame.py	2015-12-18 17:35:14 UTC (rev 67227)
@@ -2278,11 +2278,6 @@
         self._auimgr.UnInit()
         self.Destroy()
         
-    def OnCloseWindowExitGRASS(self, event):
-        """Close wxGUI and quit GRASS terminal"""
-        self._closeWindow()
-        self._quitGRASS()
-
     def _quitGRASS(self):
         """Quit GRASS terminal"""
         try:

Modified: grass/trunk/gui/wxpython/xml/wxgui_items.xml
===================================================================
--- grass/trunk/gui/wxpython/xml/wxgui_items.xml	2015-12-18 17:28:28 UTC (rev 67226)
+++ grass/trunk/gui/wxpython/xml/wxgui_items.xml	2015-12-18 17:35:14 UTC (rev 67227)
@@ -70,7 +70,7 @@
   </wxgui-item>
   <wxgui-item name="Quit">
     <label>Quit GRASS GIS</label>
-    <handler>OnCloseWindowExitGRASS</handler>
+    <handler>OnCloseWindowOrExit</handler>
     <description>Quit wxGUI session and exit GRASS shell.</description>
     <shortcut>Ctrl+Q</shortcut>
     <wx-id>ID_EXIT</wx-id>



More information about the grass-commit mailing list