[GRASS-SVN] r58006 - grass/trunk/gui/wxpython/gui_core
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Oct 15 09:13:51 PDT 2013
Author: martinl
Date: 2013-10-15 09:13:51 -0700 (Tue, 15 Oct 2013)
New Revision: 58006
Modified:
grass/trunk/gui/wxpython/gui_core/forms.py
Log:
wxGUI/forms: set mask for file browser to (*)
Modified: grass/trunk/gui/wxpython/gui_core/forms.py
===================================================================
--- grass/trunk/gui/wxpython/gui_core/forms.py 2013-10-15 15:54:26 UTC (rev 58005)
+++ grass/trunk/gui/wxpython/gui_core/forms.py 2013-10-15 16:13:51 UTC (rev 58006)
@@ -1464,9 +1464,9 @@
except:
fExt = None
if not fExt:
- fMask = '*.*'
+ fMask = '*'
else:
- fMask = '%s files (*%s)|*%s|Files (*.*)|*.*' % (fExt[1:].upper(), fExt, fExt)
+ fMask = '%s files (*%s)|*%s|Files (*)|*' % (fExt[1:].upper(), fExt, fExt)
fbb = filebrowse.FileBrowseButton(parent = which_panel, id = wx.ID_ANY, fileMask = fMask,
size = globalvar.DIALOG_GSELECT_SIZE, labelText = '',
dialogTitle = _('Choose %s') % \
More information about the grass-commit
mailing list