[GRASS-SVN] r44120 - in grass/trunk/gui/wxpython: support xml

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Oct 31 04:53:59 EDT 2010


Author: martinl
Date: 2010-10-31 01:53:59 -0700 (Sun, 31 Oct 2010)
New Revision: 44120

Modified:
   grass/trunk/gui/wxpython/support/update_menudata.py
   grass/trunk/gui/wxpython/xml/menudata.xml
Log:
update wxGUI menu


Modified: grass/trunk/gui/wxpython/support/update_menudata.py
===================================================================
--- grass/trunk/gui/wxpython/support/update_menudata.py	2010-10-31 08:50:58 UTC (rev 44119)
+++ grass/trunk/gui/wxpython/support/update_menudata.py	2010-10-31 08:53:59 UTC (rev 44120)
@@ -91,7 +91,8 @@
             desc = modules[module]['label']
         else:
             desc = modules[module]['desc']
-        node.find('help').text = desc
+        if node.find('handler').text == 'OnMenuCmd':
+            node.find('help').text = desc
         
         if not modules[module].has_key('keywords'):
             grass.warning('%s: keywords missing' % module)

Modified: grass/trunk/gui/wxpython/xml/menudata.xml
===================================================================
--- grass/trunk/gui/wxpython/xml/menudata.xml	2010-10-31 08:50:58 UTC (rev 44119)
+++ grass/trunk/gui/wxpython/xml/menudata.xml	2010-10-31 08:53:59 UTC (rev 44120)
@@ -1522,7 +1522,7 @@
 	    <menuitem>
 	      <label>Recode</label>
 	      <help>Recodes categorical raster maps.</help>
-	      <keywords>raster</keywords>
+	      <keywords>raster,recode categories</keywords>
 	      <handler>OnMenuCmd</handler>
 	      <command>r.recode</command>
 	    </menuitem>



More information about the grass-commit mailing list