summaryrefslogtreecommitdiff
path: root/mat-gui
diff options
context:
space:
mode:
Diffstat (limited to 'mat-gui')
-rwxr-xr-xmat-gui6
1 files changed, 3 insertions, 3 deletions
diff --git a/mat-gui b/mat-gui
index cba5c94..05bde66 100755
--- a/mat-gui
+++ b/mat-gui
@@ -291,7 +291,7 @@ class GUI:
291 return False 291 return False
292 292
293 cf = CFile(filename, self.backup, self.add2archive) 293 cf = CFile(filename, self.backup, self.add2archive)
294 if cf.file is not None: # if the file is supported by the mat 294 if cf.file: # if the file is supported by the mat
295 self.liststore.append([cf, os.path.dirname(cf.file.filename) + os.path.sep, 295 self.liststore.append([cf, os.path.dirname(cf.file.filename) + os.path.sep,
296 cf.file.basename, cf.file.mime, _('unknow'), 'None']) 296 cf.file.basename, cf.file.mime, _('unknow'), 'None'])
297 return False 297 return False
@@ -538,7 +538,7 @@ non-anonymised) file to output archive'))
538 ''' 538 '''
539 for line in iterator: # for each file in selection 539 for line in iterator: # for each file in selection
540 self.statusbar.push(0, _('Checking %s...') % self.liststore[line][1]) 540 self.statusbar.push(0, _('Checking %s...') % self.liststore[line][1])
541 if self.force is True or self.liststore[line][4] != _('Clean'): 541 if self.force or self.liststore[line][4] != _('Clean'):
542 if self.liststore[line][0].file.is_clean(): 542 if self.liststore[line][0].file.is_clean():
543 string = _('Clean') 543 string = _('Clean')
544 else: 544 else:
@@ -556,7 +556,7 @@ non-anonymised) file to output archive'))
556 for line in iterator: # for each file in selection 556 for line in iterator: # for each file in selection
557 logging.info('Cleaning %s' % self.liststore[line][1]) 557 logging.info('Cleaning %s' % self.liststore[line][1])
558 self.statusbar.push(0, _('Cleaning %s...') % self.liststore[line][1]) 558 self.statusbar.push(0, _('Cleaning %s...') % self.liststore[line][1])
559 if self.force is True or self.liststore[line][4] != _('Clean'): 559 if self.force or self.liststore[line][4] != _('Clean'):
560 if self.liststore[line][0].file.remove_all(): 560 if self.liststore[line][0].file.remove_all():
561 self.liststore[line][4] = _('Clean') 561 self.liststore[line][4] = _('Clean')
562 if self.backup: # the backup copy state 562 if self.backup: # the backup copy state