summaryrefslogtreecommitdiff
path: root/Services
diff options
context:
space:
mode:
authorBen Wiederhake <BenWiederhake.GitHub@gmx.de>2020-07-27 01:24:13 +0200
committerAndreas Kling <kling@serenityos.org>2020-07-28 16:29:44 +0200
commite8ed7f829ed29e29f5ff512faf118df6e4ccc89f (patch)
tree865aeb83c5496556c6e78a37de8e861db907fe58 /Services
parent70fe126d01ef824922986c7cd23c1a8753f9ef73 (diff)
downloadserenity-e8ed7f829ed29e29f5ff512faf118df6e4ccc89f.zip
SystemMenu: Add icon to 'Exit' menu item
Diffstat (limited to 'Services')
-rw-r--r--Services/SystemMenu/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Services/SystemMenu/main.cpp b/Services/SystemMenu/main.cpp
index 02112635ee..4c08ea8421 100644
--- a/Services/SystemMenu/main.cpp
+++ b/Services/SystemMenu/main.cpp
@@ -202,7 +202,7 @@ NonnullRefPtr<GUI::Menu> build_system_menu()
posix_spawn(&child_pid, "/bin/About", nullptr, nullptr, const_cast<char**>(argv), environ);
}));
system_menu->add_separator();
- system_menu->add_action(GUI::Action::create("Exit...", [](auto&) {
+ system_menu->add_action(GUI::Action::create("Exit...", Gfx::Bitmap::load_from_file("/res/icons/16x16/power.png"), [](auto&) {
auto command = ShutdownDialog::show();
if (command.size() == 0)