bugfix : problem with french accents
This commit is contained in:
parent
7bd7a8fbe5
commit
9cc7bae87d
|
@ -240,7 +240,7 @@ class warning_Window:
|
||||||
|
|
||||||
def __init__(self, txt):
|
def __init__(self, txt):
|
||||||
xml = gtk.glade.XML(GTKGUI_GLADE, 'Warning', APP)
|
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)
|
xml.signal_connect('on_close_clicked', self.on_close)
|
||||||
|
|
||||||
class about_Window:
|
class about_Window:
|
||||||
|
|
Loading…
Reference in New Issue