Commit ca83fc09 authored by jvoisin's avatar jvoisin

Fix the GUI for good

a027c0b9 was a mistake.
parent bf5d24a8
......@@ -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):
......
......@@ -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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment