[GRASS-SVN] r40201 - grass/branches/develbranch_6/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Jan 2 10:54:24 EST 2010


Author: martinl
Date: 2010-01-02 10:54:24 -0500 (Sat, 02 Jan 2010)
New Revision: 40201

Modified:
   grass/branches/develbranch_6/gui/wxpython/gui_modules/help.py
Log:
wxGUI: ignore '&' in menu tree
       (merge r40200 from trunk)


Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/help.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/help.py	2010-01-02 15:52:52 UTC (rev 40200)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/help.py	2010-01-02 15:54:24 UTC (rev 40201)
@@ -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