summaryrefslogtreecommitdiff
path: root/Services/Taskbar/TaskbarWindow.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-07-04 19:43:30 +0200
committerAndreas Kling <kling@serenityos.org>2020-07-04 20:03:09 +0200
commit8bd2fd8df92294183f0fecde765a426d3eade766 (patch)
tree3ffd77912be831d1eb62306628eab706520a4089 /Services/Taskbar/TaskbarWindow.cpp
parenta409e6d27dd1daa741e17878b24cdc3fc47e7839 (diff)
downloadserenity-8bd2fd8df92294183f0fecde765a426d3eade766.zip
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.
Diffstat (limited to 'Services/Taskbar/TaskbarWindow.cpp')
-rw-r--r--Services/Taskbar/TaskbarWindow.cpp3
1 files changed, 1 insertions, 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;
}