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

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Jan 2 10:52:53 EST 2010


Author: martinl
Date: 2010-01-02 10:52:52 -0500 (Sat, 02 Jan 2010)
New Revision: 40200

Modified:
   grass/trunk/gui/wxpython/gui_modules/help.py
Log:
wxGUI: ignore '&' in menu tree


Modified: grass/trunk/gui/wxpython/gui_modules/help.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/help.py	2010-01-02 15:24:38 UTC (rev 40199)
+++ grass/trunk/gui/wxpython/gui_modules/help.py	2010-01-02 15:52:52 UTC (rev 40200)
@@ -326,7 +326,7 @@
         for eachMenuData in data.GetMenu():
             for label, items in eachMenuData:
                 item = self.AppendItem(parentId = self.root,
-                                       text = label)
+                                       text = label.replace('&', ''))
                 self.__AppendItems(item, items)
         
     def __AppendItems(self, item, data):



More information about the grass-commit mailing list