formatting
parent
2ba11e8401
commit
6f7e7c5199
|
@ -324,9 +324,8 @@ void Workspace::update(const std::string &format, const std::string &icon) {
|
||||||
add_or_remove_class(style_context, is_special(), "special");
|
add_or_remove_class(style_context, is_special(), "special");
|
||||||
add_or_remove_class(style_context, is_empty(), "persistent");
|
add_or_remove_class(style_context, is_empty(), "persistent");
|
||||||
|
|
||||||
label_.set_markup(
|
label_.set_markup(fmt::format(fmt::runtime(format), fmt::arg("id", id()),
|
||||||
fmt::format(fmt::runtime(format), fmt::arg("id", id()),
|
fmt::arg("name", name()), fmt::arg("icon", icon)));
|
||||||
fmt::arg("name", name()), fmt::arg("icon", icon)));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void Workspaces::sort_workspaces() {
|
void Workspaces::sort_workspaces() {
|
||||||
|
|
Loading…
Reference in New Issue