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

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Feb 29 10:19:34 EST 2008


Author: martinl
Date: 2008-02-29 10:19:34 -0500 (Fri, 29 Feb 2008)
New Revision: 30401

Modified:
   grass/trunk/gui/wxpython/gui_modules/digit.py
Log:
wxGUI: (digitization settings) add tooltips for buttons, set 'Apply' to be default

Modified: grass/trunk/gui/wxpython/gui_modules/digit.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/digit.py	2008-02-29 14:44:10 UTC (rev 30400)
+++ grass/trunk/gui/wxpython/gui_modules/digit.py	2008-02-29 15:19:34 UTC (rev 30401)
@@ -1339,9 +1339,13 @@
 
         # bindigs
         btnApply.Bind(wx.EVT_BUTTON, self.OnApply)
+        btnApply.SetToolTipString(_("Apply changes for this session"))
+        btnApply.SetDefault()
         btnSave.Bind(wx.EVT_BUTTON, self.OnSave)
+        btnSave.SetToolTipString(_("Close window and save changes to user settings file"))
         btnCancel.Bind(wx.EVT_BUTTON, self.OnCancel)
-
+        btnCancel.SetToolTipString(_("Close window and ignore changes"))
+        
         # sizers
         btnSizer = wx.StdDialogButtonSizer()
         btnSizer.AddButton(btnCancel)



More information about the grass-commit mailing list