Open raquelalegre opened 9 years ago
Change so it still shows everything, but non atf files are not clickable nor "openable".
This is actually not true. Nammu still open text files with extensions other that ATF. For non text files, it doesn't open them because:
File "__pyclasspath__/nammu/controller/NammuController.py", line 126, in openFile
File "__pyclasspath__/nammu/controller/NammuController.py", line 141, in readTextFile
File "/Users/raquelalegre/workspace/ORACC/nammu/target/nammu-0.1.jar/Lib/codecs$py.class", line 671, in read
File "/Users/raquelalegre/workspace/ORACC/nammu/target/nammu-0.1.jar/Lib/codecs$py.class", line 477, in read
UnicodeDecodeError: 'utf-8' codec can't decode bytes in position 10-11: invalid data
Need to:
This will also help with #30
Nice to have but no time before conference. Removing milestone.
Currently it seems to ignore things that are not text files. Have a look into that and at least display a message saying this file can't be opened because it's not text.
I've added a filter to prevent the user from clicking on files that are not "*.atf", but it is not working properly. Having these filter applied highlights the
.atf
files, but doesn't hide the non-atf files, which remain clickable and thus "openable".