Author: bugman Date: Wed Dec 22 11:41:50 2010 New Revision: 11938 URL: http://svn.gna.org/viewcvs/relax?rev=11938&view=rev Log: Only *.py files can be opened by the script user function GUI element. Modified: branches/bieri_gui/gui_bieri/user_functions/script.py Modified: branches/bieri_gui/gui_bieri/user_functions/script.py URL: http://svn.gna.org/viewcvs/relax/branches/bieri_gui/gui_bieri/user_functions/script.py?rev=11938&r1=11937&r2=11938&view=diff ============================================================================== --- branches/bieri_gui/gui_bieri/user_functions/script.py (original) +++ branches/bieri_gui/gui_bieri/user_functions/script.py Wed Dec 22 11:41:50 2010 @@ -42,7 +42,7 @@ """ # User selection of the file. - file = openfile(msg='Select the relax script to execute') + file = openfile(msg='Select the relax script to execute', default='relax scripts (*.py)|*.py') # Check the file. if not file: