Merge pull request #798 from danieldg/master

Minor string fixes to wlr/taskbar
This commit is contained in:
Alex 2020-08-06 09:03:02 +02:00 committed by GitHub
commit f5efb50871
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -306,7 +306,7 @@ std::string Task::state_string(bool shortened) const
void Task::handle_title(const char *title) void Task::handle_title(const char *title)
{ {
title_ = title; title_ = Glib::Markup::escape_text(title);
} }
void Task::handle_app_id(const char *app_id) 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 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; return result;
} }