[GRASS-SVN] r62153 - grass/trunk/gui/wxpython/gui_core
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Oct 1 18:41:10 PDT 2014
Author: wenzeslaus
Date: 2014-10-01 18:41:10 -0700 (Wed, 01 Oct 2014)
New Revision: 62153
Modified:
grass/trunk/gui/wxpython/gui_core/forms.py
Log:
wxGUI/forms: change working from 'interactively' to 'directly', add colon and tooltips
It is a direct input of file content. It is not interactive which usually means that there are some actions and reactions.
Modified: grass/trunk/gui/wxpython/gui_core/forms.py
===================================================================
--- grass/trunk/gui/wxpython/gui_core/forms.py 2014-10-01 23:11:15 UTC (rev 62152)
+++ grass/trunk/gui/wxpython/gui_core/forms.py 2014-10-02 01:41:10 UTC (rev 62153)
@@ -1517,12 +1517,20 @@
ifbb.Bind(wx.EVT_TEXT, self.OnFileText)
btnLoad = wx.Button(parent = which_panel, id = wx.ID_ANY, label = _("&Load"))
+ btnLoad.SetToolTipString(_("Load and edit content of a file"))
btnLoad.Bind(wx.EVT_BUTTON, self.OnFileLoad)
btnSave = wx.Button(parent = which_panel, id = wx.ID_ANY, label = _("&Save as"))
+ btnSave.SetToolTipString(_("Save content to a file for further use"))
btnSave.Bind(wx.EVT_BUTTON, self.OnFileSave)
- which_sizer.Add(item = wx.StaticText(parent = which_panel, id = wx.ID_ANY,
- label = _('or enter values interactively')),
+ fileContentLabel = wx.StaticText(parent=which_panel,
+ id=wx.ID_ANY,
+ label=_('or enter values directly:'))
+ fileContentLabel.SetToolTipString(
+ _("Enter file content directly instead of specifying"
+ " a file."
+ " Temporary file will be automatically created."))
+ which_sizer.Add(item=fileContentLabel,
proportion = 0,
flag = wx.EXPAND | wx.RIGHT | wx.LEFT | wx.BOTTOM, border = 5)
which_sizer.Add(item = ifbb, proportion = 1,
More information about the grass-commit
mailing list