gui2/tnetwork_transmission: Allow usage of Pango markup for the message text

This commit is contained in:
Ignacio R. Morelle 2012-02-03 20:08:02 +00:00
parent c249b0c0be
commit 18bb5f8fe3

View File

@ -84,7 +84,9 @@ void tnetwork_transmission::pre_show(CVideo& /*video*/, twindow& window)
{
// ***** ***** ***** ***** Set up the widgets ***** ***** ***** *****
if(!subtitle_.empty()) {
find_widget<tlabel>(&window, "subtitle", false).set_label(subtitle_);
tlabel& subtitle_label = find_widget<tlabel>(&window, "subtitle", false);
subtitle_label.set_label(subtitle_);
subtitle_label.set_use_markup(true);
}
pump_monitor.window_ = window;