bugfix : problem with french accents

This commit is contained in:
Yann Leboulanger 2004-05-19 21:02:01 +00:00
parent 7bd7a8fbe5
commit 9cc7bae87d
1 changed files with 1 additions and 1 deletions

View File

@ -240,7 +240,7 @@ class warning_Window:
def __init__(self, txt):
xml = gtk.glade.XML(GTKGUI_GLADE, 'Warning', APP)
xml.get_widget('label').set_text(txt)
xml.get_widget('label').set_text(txt.decode('iso-8859-1').encode('utf-8'))
xml.signal_connect('on_close_clicked', self.on_close)
class about_Window: