[GRASS-SVN] r42170 - in grass/trunk/gui/wxpython: . gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Sat May 8 15:53:51 EDT 2010


Author: martinl
Date: 2010-05-08 15:53:49 -0400 (Sat, 08 May 2010)
New Revision: 42170

Modified:
   grass/trunk/gui/wxpython/gui_modules/help.py
   grass/trunk/gui/wxpython/wxgui.py
Log:
wxGUI: fix ext simple mode


Modified: grass/trunk/gui/wxpython/gui_modules/help.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/help.py	2010-05-08 19:45:49 UTC (rev 42169)
+++ grass/trunk/gui/wxpython/gui_modules/help.py	2010-05-08 19:53:49 UTC (rev 42170)
@@ -892,7 +892,10 @@
                     mdict[prefix][name][key] = value
             else:
                 prefix, name = line.strip().split('.', 1)
-                mdict[prefix] = { name : dict() }
+                if not mdict.has_key(prefix):
+                    mdict[prefix] = dict()
+                
+                mdict[prefix][name] = { 'command' : prefix + '.' + name }
         
         for prefix in mdict.keys():
             prefixName = self._expandPrefix(prefix)

Modified: grass/trunk/gui/wxpython/wxgui.py
===================================================================
--- grass/trunk/gui/wxpython/wxgui.py	2010-05-08 19:45:49 UTC (rev 42169)
+++ grass/trunk/gui/wxpython/wxgui.py	2010-05-08 19:53:49 UTC (rev 42170)
@@ -919,7 +919,7 @@
 
     def OnInstallExtension(self, event):
         """!Install extension from GRASS Addons SVN repository"""
-        win = InstallExtensionWindow(self, size = (500, 300))
+        win = InstallExtensionWindow(self, size = (550, 400))
         win.CentreOnScreen()
         win.Show()
         



More information about the grass-commit mailing list