...
authorPierre Ratinaud <ratinaud@univ-tlse2.fr>
Tue, 18 Nov 2014 10:47:55 +0000 (11:47 +0100)
committerPierre Ratinaud <ratinaud@univ-tlse2.fr>
Tue, 18 Nov 2014 10:47:55 +0000 (11:47 +0100)
tree.py

diff --git a/tree.py b/tree.py
index d1df2d6..11de21b 100644 (file)
--- a/tree.py
+++ b/tree.py
@@ -383,8 +383,8 @@ class LeftTree(CT.CustomTreeCtrl):
         
         if not item in [self.textroot, self.matroot] :
             menu = wx.Menu()
-            info = menu.Append(wx.ID_ANY, _(u"Informations").encode('utf8'))
-            rename = menu.Append(wx.ID_ANY, _(u"Rename").encode('utf8'))
+            info = menu.Append(wx.ID_ANY, _(u"Informations").decode('utf8'))
+            rename = menu.Append(wx.ID_ANY, _(u"Rename").decode('utf8'))
             menu.AppendSeparator()
     
             if 'corpus_name' in pydata :