From f4b7126ea618faa73b54a8a4bfc5b127752abf25 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Tue, 30 Apr 2013 00:20:18 +0200 Subject: Gtk3 wants utf-8 for display --- mat-gui | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mat-gui') 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')) def mat_check(self, iterator): ''' Check elements in iterator are clean ''' for line in iterator: # for each file in selection - msg = 'Checking %s ' % self.liststore[line][2] + msg = _('Checking %s') % self.liststore[line][2].decode('utf-8', 'replace') logging.info(msg) self.statusbar.push(0, msg) @@ -430,7 +430,7 @@ non-anonymised) file to output archive')) def mat_clean(self, iterator): ''' Clean elements in iterator ''' for line in iterator: # for each file in selection - msg = _('Cleaning %s') % self.liststore[line][2] + msg = _('Cleaning %s') % self.liststore[line][2].decode('utf-8', 'replace') logging.info(msg) self.statusbar.push(0, msg) if self.force or self.liststore[line][6]: -- cgit v1.3