[GRASS-SVN] r42367 - grass/trunk/gui/wxpython

svn_grass at osgeo.org svn_grass at osgeo.org
Sat May 29 04:49:19 EDT 2010


Author: martinl
Date: 2010-05-29 04:49:17 -0400 (Sat, 29 May 2010)
New Revision: 42367

Modified:
   grass/trunk/gui/wxpython/wxgui.py
Log:
wxGUI: python scripts prefered


Modified: grass/trunk/gui/wxpython/wxgui.py
===================================================================
--- grass/trunk/gui/wxpython/wxgui.py	2010-05-28 16:56:24 UTC (rev 42366)
+++ grass/trunk/gui/wxpython/wxgui.py	2010-05-29 08:49:17 UTC (rev 42367)
@@ -440,7 +440,8 @@
         """!Run script"""
         # open dialog and choose script file
         dlg = wx.FileDialog(parent = self, message = _("Choose script file"),
-                            defaultDir = os.getcwd(), wildcard = _("Bash script (*.sh)|*.sh|Python script (*.py)|*.py"))
+                            defaultDir = os.getcwd(),
+                            wildcard = _("Python script (*.py)|*.py|Bash script (*.sh)|*.sh"))
         
         filename = None
         if dlg.ShowModal() == wx.ID_OK:



More information about the grass-commit mailing list