[GRASS-SVN] r47268 - grass/trunk/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Jul 27 10:51:27 EDT 2011
Author: mmetz
Date: 2011-07-27 07:51:27 -0700 (Wed, 27 Jul 2011)
New Revision: 47268
Modified:
grass/trunk/gui/wxpython/gui_modules/dbm.py
Log:
fix attribute table manager
Modified: grass/trunk/gui/wxpython/gui_modules/dbm.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/dbm.py 2011-07-27 14:51:03 UTC (rev 47267)
+++ grass/trunk/gui/wxpython/gui_modules/dbm.py 2011-07-27 14:51:27 UTC (rev 47268)
@@ -746,11 +746,13 @@
choices=self.mapDBInfo.GetColumns(self.mapDBInfo.layers[layer]['table']))
sqlWhereValue = wx.TextCtrl(parent=panel, id=wx.ID_ANY, value="",
style=wx.TE_PROCESS_ENTER)
+ sqlWhereValue.SetToolTipString(_("Example: %s") % "MULTILANE = 'no' AND OBJECTID < 10")
sqlStatement = wx.TextCtrl(parent=panel, id=wx.ID_ANY,
value="SELECT * FROM %s" % \
self.mapDBInfo.layers[layer]['table'],
style=wx.TE_PROCESS_ENTER)
+ sqlStatement.SetToolTipString(_("Example: %s") % "SELECT * FROM roadsmajor WHERE MULTILANE = 'no' AND OBJECTID < 10")
sqlWhereValue.Bind(wx.EVT_TEXT_ENTER, self.OnApplySqlStatement)
sqlStatement.Bind(wx.EVT_TEXT_ENTER, self.OnApplySqlStatement)
More information about the grass-commit
mailing list