From f97b4d88f0254588d11b8760fc6714828af0ef28 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Sat, 5 Oct 2013 20:46:24 +0100 Subject: mat is now able to check non-writables files This is an implementaion of this suggestion: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=721572 --- mat-gui | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'mat-gui') diff --git a/mat-gui b/mat-gui index 4371521..3ff9670 100755 --- a/mat-gui +++ b/mat-gui @@ -279,7 +279,9 @@ non-anonymised) file to output archive')) ''' cf = CFile(filename, add2archive=self.add2archive, low_pdf_quality=self.pdf_quality) - if cf.file: # if the file is supported by the mat + # if the file is supported by the mat, + # and is writable (for usability's sake). + if cf.file and cf.file.is_writable: self.liststore.append([cf, cf.file.basename, _('Unknown')]) return False return True -- cgit v1.3