From 161c862f2193f1f565cbe37b102d3003f4c69f78 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Tue, 27 Aug 2019 06:53:04 +0200 Subject: [PATCH] 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. :^) --- Base/res/icons/16x16/ladybug.png | Bin 0 -> 205 bytes Servers/WindowServer/WSWindowManager.cpp | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 Base/res/icons/16x16/ladybug.png diff --git a/Base/res/icons/16x16/ladybug.png b/Base/res/icons/16x16/ladybug.png new file mode 100644 index 0000000000000000000000000000000000000000..525126859dcdb3c93679cb5a79aa46481487a77d GIT binary patch literal 205 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Q#@T9Lo813oqUkD*?`AYUNGJ7 zZmXw6!)*6Q*A%Us{CO_kv2x$R!s&WHQ$TCqjg2|a|I4%g%Q)HT&%e^FyqDun)XW;k zUrd4$4eT43`~&4rMSoATR^gRsj11u7n#dXQY{5IxR@L7TbHW3qrxd7Z%uvp=_^98rILrrrZ?I6UaBoi3AW|~x{txr)z4*}Q$iB} D1RF^< literal 0 HcmV?d00001 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(*m_system_menu, WSMenuItem::Separator)); m_system_menu->add_item(make(*m_system_menu, 100, "Reload WM Config File")); m_system_menu->add_item(make(*m_system_menu, WSMenuItem::Separator)); - m_system_menu->add_item(make(*m_system_menu, 200, "About...")); + m_system_menu->add_item(make(*m_system_menu, 200, "About...", String(), true, false, false, load_png("/res/icons/16x16/ladybug.png"))); m_system_menu->add_item(make(*m_system_menu, WSMenuItem::Separator)); m_system_menu->add_item(make(*m_system_menu, 300, "Shutdown...")); m_system_menu->on_item_activation = [this, apps](WSMenuItem& item) {