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

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Mar 4 07:51:48 EST 2010


Author: mlennert
Date: 2010-03-04 07:51:48 -0500 (Thu, 04 Mar 2010)
New Revision: 41287

Modified:
   grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/menuform.py
Log:
fix bug #978: access files without extension (merge from trunk, r41284)

Modified: grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/menuform.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/menuform.py	2010-03-04 12:51:10 UTC (rev 41286)
+++ grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/menuform.py	2010-03-04 12:51:48 UTC (rev 41287)
@@ -1455,7 +1455,7 @@
                         p['wxId'].append(None)
                 # file selector
                 elif p.get('prompt','') != 'color' and p.get('element', '') == 'file':
-                    fbb = filebrowse.FileBrowseButton(parent=which_panel, id=wx.ID_ANY, 
+                    fbb = filebrowse.FileBrowseButton(parent=which_panel, id=wx.ID_ANY, fileMask = '*',
                                                       size=globalvar.DIALOG_GSELECT_SIZE, labelText='',
                                                       dialogTitle=_('Choose %s') % \
                                                           p.get('description',_('File')),



More information about the grass-commit mailing list