Set monospace font also for label error of error message

This commit is contained in:
Cédric Krier committed 2010-12-02 22:38:37 +01:00
1 parent 61e31cd613
commit a381799a1d
1 file changed
+1
+1
View File
@@ -454,6 +454,7 @@ def error(title, parent, details):
label_error.set_markup('<b>' + _('Error: ') + '</b>' + title)
label_error.set_alignment(0, 0.5)
label_error.set_padding(-1, 14)
label_error.modify_font(pango.FontDescription("monospace"))
box.pack_start(label_error, False, False)
textview = gtk.TextView()
buf = gtk.TextBuffer()