[Pkg-privacy-commits] [mat] 52/68: Fix the GUI for good
Sascha Steinbiss
sascha at steinbiss.name
Sun Jan 3 12:32:42 UTC 2016
This is an automated email from the git hooks/post-receive script.
sascha-guest pushed a commit to branch master
in repository mat.
commit ca83fc0927897db30ed0ad11d3d681c3bd90c715
Author: jvoisin <julien.voisin at dustri.org>
Date: Fri Dec 18 02:35:54 2015 +0100
Fix the GUI for good
a027c0b989f7c7a5182db25aa628d2c138d024ae was a mistake.
---
libmat/parser.py | 2 +-
mat-gui | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/libmat/parser.py b/libmat/parser.py
index e36e921..2a82a25 100644
--- a/libmat/parser.py
+++ b/libmat/parser.py
@@ -28,7 +28,7 @@ class GenericParser(object):
self.backup = backup
self.is_writable = is_writable
self.filename = filename
- self.basename = os.path.basename(filename).decode('utf8')
+ self.basename = os.path.basename(filename)
self.output = tempfile.mkstemp()[1]
def __del__(self):
diff --git a/mat-gui b/mat-gui
index 45b0cdd..25ec86f 100755
--- a/mat-gui
+++ b/mat-gui
@@ -169,7 +169,8 @@ class GUI(object):
metadataPopupListStore.append([i, j])
popup_metadata = self.builder.get_object('MetadataPopup')
- popup_metadata.set_title(_("%s's metadata") % self.liststore[row][0].file.basename)
+ title = self.liststore[row][0].file.basename
+ popup_metadata.set_title(_("%s's metadata") % title.decode('utf8'))
popup_metadata.show_all()
popup_metadata.run()
popup_metadata.hide()
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/mat.git
More information about the Pkg-privacy-commits
mailing list