mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
Merge pull request #798 from danieldg/master
Minor string fixes to wlr/taskbar
This commit is contained in:
commit
f5efb50871
@ -306,7 +306,7 @@ std::string Task::state_string(bool shortened) const
|
||||
|
||||
void Task::handle_title(const char *title)
|
||||
{
|
||||
title_ = title;
|
||||
title_ = Glib::Markup::escape_text(title);
|
||||
}
|
||||
|
||||
void Task::handle_app_id(const char *app_id)
|
||||
@ -709,7 +709,7 @@ bool Taskbar::show_output(struct wl_output *output) const
|
||||
|
||||
bool Taskbar::all_outputs() const
|
||||
{
|
||||
static bool result = config_["all_outputs"].isBool() ? config_["all_outputs"].asBool() : false;
|
||||
static bool result = config_["all-outputs"].isBool() ? config_["all-outputs"].asBool() : false;
|
||||
|
||||
return result;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user