summaryrefslogtreecommitdiff
path: root/mat-gui
diff options
context:
space:
mode:
authorjvoisin2013-04-30 00:20:18 +0200
committerjvoisin2013-04-30 00:20:18 +0200
commitf4b7126ea618faa73b54a8a4bfc5b127752abf25 (patch)
treec266e9eaa1203cfcfb6048edbc300c2946e357de /mat-gui
parentb39c037990cd52db91d2465e66efabf865207a2a (diff)
Gtk3 wants utf-8 for display
Diffstat (limited to 'mat-gui')
-rwxr-xr-xmat-gui4
1 files changed, 2 insertions, 2 deletions
diff --git a/mat-gui b/mat-gui
index f84994b..fe6edae 100755
--- a/mat-gui
+++ b/mat-gui
@@ -411,7 +411,7 @@ non-anonymised) file to output archive'))
411 def mat_check(self, iterator): 411 def mat_check(self, iterator):
412 ''' Check elements in iterator are clean ''' 412 ''' Check elements in iterator are clean '''
413 for line in iterator: # for each file in selection 413 for line in iterator: # for each file in selection
414 msg = 'Checking %s ' % self.liststore[line][2] 414 msg = _('Checking %s') % self.liststore[line][2].decode('utf-8', 'replace')
415 logging.info(msg) 415 logging.info(msg)
416 self.statusbar.push(0, msg) 416 self.statusbar.push(0, msg)
417 417
@@ -430,7 +430,7 @@ non-anonymised) file to output archive'))
430 def mat_clean(self, iterator): 430 def mat_clean(self, iterator):
431 ''' Clean elements in iterator ''' 431 ''' Clean elements in iterator '''
432 for line in iterator: # for each file in selection 432 for line in iterator: # for each file in selection
433 msg = _('Cleaning %s') % self.liststore[line][2] 433 msg = _('Cleaning %s') % self.liststore[line][2].decode('utf-8', 'replace')
434 logging.info(msg) 434 logging.info(msg)
435 self.statusbar.push(0, msg) 435 self.statusbar.push(0, msg)
436 if self.force or self.liststore[line][6]: 436 if self.force or self.liststore[line][6]: