From 8bd2fd8df92294183f0fecde765a426d3eade766 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Sat, 4 Jul 2020 19:43:30 +0200 Subject: [PATCH] Taskbar: Don't wrap minimized window titles in [] This actually looks a lot nicer without the [] and I'm not sure that the visual cue about minimization state was actually useful. --- Services/Taskbar/TaskbarWindow.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Services/Taskbar/TaskbarWindow.cpp b/Services/Taskbar/TaskbarWindow.cpp index b225b7ffa1..c6121f04e1 100644 --- a/Services/Taskbar/TaskbarWindow.cpp +++ b/Services/Taskbar/TaskbarWindow.cpp @@ -224,11 +224,10 @@ void TaskbarWindow::wm_event(GUI::WMEvent& event) window.set_progress(changed_event.progress()); if (window.is_minimized()) { window.button()->set_foreground_color(Color::DarkGray); - window.button()->set_text(String::format("[%s]", changed_event.title().characters())); } else { window.button()->set_foreground_color(Color::Black); - window.button()->set_text(changed_event.title()); } + window.button()->set_text(changed_event.title()); window.button()->set_checked(changed_event.is_active()); break; }