[GRASS-SVN] r67226 - grass/trunk/gui/wxpython/lmgr

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


Author: martinl
Date: 2015-12-18 09:28:28 -0800 (Fri, 18 Dec 2015)
New Revision: 67226

Modified:
   grass/trunk/gui/wxpython/lmgr/frame.py
Log:
wxGUI: explain better quit/close dialog

Modified: grass/trunk/gui/wxpython/lmgr/frame.py
===================================================================
--- grass/trunk/gui/wxpython/lmgr/frame.py	2015-12-18 16:32:43 UTC (rev 67225)
+++ grass/trunk/gui/wxpython/lmgr/frame.py	2015-12-18 17:28:28 UTC (rev 67226)
@@ -2211,8 +2211,11 @@
         Ask user also to quit GRASS including terminal
         """
         dlg = wx.MessageDialog(self,
-                               message = _("Do you want to quit GRASS GIS?"),
-                               caption = _("Quit GRASS GIS"),
+                               message = _("Do you want to quit GRASS GIS?\n\n"
+                                           "Press 'Yes' to quit GRASS GUI and shell.\n"
+                                           "Press 'No' to close only GRASS GUI.\n"
+                                           "Press 'Cancel' to cancel this operation."),
+                               caption = _("Quit GRASS GIS?"),
                                style = wx.YES_NO | wx.YES_DEFAULT |
                                wx.CANCEL | wx.ICON_QUESTION | wx.CENTRE)
         ret = dlg.ShowModal()



More information about the grass-commit mailing list