summaryrefslogtreecommitdiff
path: root/Applications
diff options
context:
space:
mode:
authorHüseyin ASLITÜRK <asliturk@hotmail.com>2020-05-07 17:51:41 +0300
committerAndreas Kling <kling@serenityos.org>2020-05-08 09:49:41 +0200
commit39a8db936a5b22748be0ff251c8d7e96191dbeb4 (patch)
treeb017923e24977c9ca8f9c6d7739484afd685f5f8 /Applications
parentcef2dce9a1f21aaf280963adc00934e89e6627f7 (diff)
downloadserenity-39a8db936a5b22748be0ff251c8d7e96191dbeb4.zip
Applications: Replace SystemMenu name to hi voltage emoji
Diffstat (limited to 'Applications')
-rw-r--r--Applications/SystemMenu/main.cpp12
1 files changed, 2 insertions, 10 deletions
diff --git a/Applications/SystemMenu/main.cpp b/Applications/SystemMenu/main.cpp
index 1a12b9548b..483a8b8b6a 100644
--- a/Applications/SystemMenu/main.cpp
+++ b/Applications/SystemMenu/main.cpp
@@ -24,6 +24,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#include "PowerDialog.h"
#include <AK/FileSystemPath.h>
#include <AK/QuickSort.h>
#include <LibCore/ConfigFile.h>
@@ -32,17 +33,9 @@
#include <LibGUI/Action.h>
#include <LibGUI/ActionGroup.h>
#include <LibGUI/Application.h>
-#include <LibGUI/Desktop.h>
#include <LibGUI/Menu.h>
-#include <LibGUI/MenuBar.h>
-#include <LibGUI/MessageBox.h>
#include <LibGUI/WindowServerConnection.h>
#include <LibGfx/Bitmap.h>
-#include <stdio.h>
-#include <sys/utsname.h>
-#include <unistd.h>
-
-#include "PowerDialog.h"
//#define SYSTEM_MENU_DEBUG
@@ -129,8 +122,7 @@ NonnullRefPtr<GUI::Menu> build_system_menu()
sorted_app_categories.append(category);
quick_sort(sorted_app_categories);
- u8 system_menu_name[] = { 0xc3, 0xb8, 0 };
- auto system_menu = GUI::Menu::construct(String((const char*)system_menu_name));
+ auto system_menu = GUI::Menu::construct("\xE2\x9A\xA1"); // HIGH VOLTAGE SIGN
// First we construct all the necessary app category submenus.
for (const auto& category : sorted_app_categories) {