Fix for the file selection widget in the user function windows - the file type is now not hardcoded.
The code was copied from the script user function window so that the filetype was hardcoded to *.py!!!
Authored by: bugman 2010-12-30
Parent: [r12043]
Child: [r12045]