[sulfur] okDialog() wrap set_markup() with cleanMarkupString()

This commit is contained in:
Fabio Erculiani
2010-02-14 21:09:17 +01:00
parent 5abb6de683
commit 35a490b543
+2 -2
View File
@@ -2749,10 +2749,10 @@ def okDialog(parent, msg, title = None):
dlg = gtk.MessageDialog(parent=parent,
type=gtk.MESSAGE_INFO,
buttons=gtk.BUTTONS_OK)
dlg.set_markup(msg)
dlg.set_markup(cleanMarkupString(msg))
if not title:
title = _("Attention")
dlg.set_title( title )
dlg.set_title(title)
dlg.run()
dlg.destroy()