diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-08-27 06:53:04 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-08-27 06:53:23 +0200 |
commit | 161c862f2193f1f565cbe37b102d3003f4c69f78 (patch) | |
tree | f35b3b94772b4a69b8365eb8b555f474b9d89c74 /Servers | |
parent | b0b94560c3ac1d83d85cca82773e8f6a769023db (diff) | |
download | serenity-161c862f2193f1f565cbe37b102d3003f4c69f78.zip |
WindowServer: Add an icon for the system menu / About action
It's a little ladybug. Maybe someday we'll have a fancy icon, but until
then, this ladybug character is a cute placeholder. :^)
Diffstat (limited to 'Servers')
-rw-r--r-- | Servers/WindowServer/WSWindowManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Servers/WindowServer/WSWindowManager.cpp b/Servers/WindowServer/WSWindowManager.cpp index 5d738584de..04dcb9022a 100644 --- a/Servers/WindowServer/WSWindowManager.cpp +++ b/Servers/WindowServer/WSWindowManager.cpp @@ -67,7 +67,7 @@ WSWindowManager::WSWindowManager() m_system_menu->add_item(make<WSMenuItem>(*m_system_menu, WSMenuItem::Separator)); m_system_menu->add_item(make<WSMenuItem>(*m_system_menu, 100, "Reload WM Config File")); m_system_menu->add_item(make<WSMenuItem>(*m_system_menu, WSMenuItem::Separator)); - m_system_menu->add_item(make<WSMenuItem>(*m_system_menu, 200, "About...")); + m_system_menu->add_item(make<WSMenuItem>(*m_system_menu, 200, "About...", String(), true, false, false, load_png("/res/icons/16x16/ladybug.png"))); m_system_menu->add_item(make<WSMenuItem>(*m_system_menu, WSMenuItem::Separator)); m_system_menu->add_item(make<WSMenuItem>(*m_system_menu, 300, "Shutdown...")); m_system_menu->on_item_activation = [this, apps](WSMenuItem& item) { |