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

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Sep 1 08:29:06 EDT 2008


Author: martinl
Date: 2008-09-01 08:29:06 -0400 (Mon, 01 Sep 2008)
New Revision: 33192

Modified:
   grass/trunk/gui/wxpython/gui_modules/menuform.py
Log:
wxGUI: Bug fix trac #272 (some commands dialogs have their name crippled)


Modified: grass/trunk/gui/wxpython/gui_modules/menuform.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/menuform.py	2008-09-01 12:26:05 UTC (rev 33191)
+++ grass/trunk/gui/wxpython/gui_modules/menuform.py	2008-09-01 12:29:06 UTC (rev 33192)
@@ -573,7 +573,7 @@
         self.parent = parent # LayerTree | None
 
         # module name + keywords
-        title = self.task.name.rstrip('.py').rstrip('.sh')
+        title = self.task.name.replace('.py', '').replace('.sh', '')
         try:
             title +=  " [" + ', '.join( self.task.keywords ) + "]"
         except ValueError:



More information about the grass-commit mailing list