[GRASS-SVN] r35775 - grass/branches/releasebranch_6_4/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Feb 5 04:31:44 EST 2009


Author: martinl
Date: 2009-02-05 04:31:44 -0500 (Thu, 05 Feb 2009)
New Revision: 35775

Modified:
   grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/menuform.py
Log:
wxGUI: fix key_desc
      (merge from trunk, r35773)


Modified: grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/menuform.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/menuform.py	2009-02-05 09:28:46 UTC (rev 35774)
+++ grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/menuform.py	2009-02-05 09:31:44 UTC (rev 35775)
@@ -469,12 +469,12 @@
             self.inKeywordsContent = False
 
         if name == 'keydesc':
-            self.param_key_desc = self.param_key_desc.split()
             self.inKeyDesc = False
 
         if name == 'item':
             if self.inKeyDesc:
-                self.param_key_desc = normalize_whitespace(self.key_desc)
+                self.param_key_desc.append(normalize_whitespace(self.key_desc))
+                self.key_desc = ''
                 self.addKeyDesc = False
 
 class helpPanel(wx.html.HtmlWindow):



More information about the grass-commit mailing list