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

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Feb 5 04:28:47 EST 2009


Author: martinl
Date: 2009-02-05 04:28:46 -0500 (Thu, 05 Feb 2009)
New Revision: 35774

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


Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/menuform.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/menuform.py	2009-02-05 09:26:02 UTC (rev 35773)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/menuform.py	2009-02-05 09:28:46 UTC (rev 35774)
@@ -470,12 +470,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