feat(Label): use set_markup

This commit is contained in:
Alexis
2018-11-21 20:49:09 +01:00
parent b3559328f1
commit bd62c4cbc5
9 changed files with 9 additions and 9 deletions

View File

@ -36,7 +36,7 @@ auto waybar::modules::sway::Mode::update() -> void
label_.hide();
} else {
label_.set_name("mode");
label_.set_text(fmt::format(format_, mode_));
label_.set_markup(fmt::format(format_, mode_));
label_.set_tooltip_text(mode_);
label_.show();
}

View File

@ -43,7 +43,7 @@ void waybar::modules::sway::Window::worker()
auto waybar::modules::sway::Window::update() -> void
{
label_.set_text(fmt::format(format_, window_));
label_.set_markup(fmt::format(format_, window_));
label_.set_tooltip_text(window_);
}