summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorelectrikmilk <brandonjordan124@gmail.com>2022-08-13 17:17:01 -0400
committerLinus Groh <mail@linusgroh.de>2022-08-14 00:52:56 +0100
commita5cef2c41a75af1a9109dd8405510e5c608b8e1e (patch)
treeae964f5215257e16d1188c44b1725017cc654c00
parent849495915b0084774a0b3d5a0e05f01434f79aa5 (diff)
downloadserenity-a5cef2c41a75af1a9109dd8405510e5c608b8e1e.zip
Base: Add Icon for Partition Editor
This adds a 16x16 and 32x32 icon that is missing for the Partition Editor.
-rw-r--r--Base/res/icons/16x16/app-partition-editor.pngbin0 -> 294 bytes
-rw-r--r--Base/res/icons/32x32/app-partition-editor.pngbin0 -> 415 bytes
-rw-r--r--Userland/Applications/PartitionEditor/CMakeLists.txt2
-rw-r--r--Userland/Applications/PartitionEditor/main.cpp3
4 files changed, 2 insertions, 3 deletions
diff --git a/Base/res/icons/16x16/app-partition-editor.png b/Base/res/icons/16x16/app-partition-editor.png
new file mode 100644
index 0000000000..b09a6abaff
--- /dev/null
+++ b/Base/res/icons/16x16/app-partition-editor.png
Binary files differ
diff --git a/Base/res/icons/32x32/app-partition-editor.png b/Base/res/icons/32x32/app-partition-editor.png
new file mode 100644
index 0000000000..8b75b46111
--- /dev/null
+++ b/Base/res/icons/32x32/app-partition-editor.png
Binary files differ
diff --git a/Userland/Applications/PartitionEditor/CMakeLists.txt b/Userland/Applications/PartitionEditor/CMakeLists.txt
index 67b9d19543..42d932d670 100644
--- a/Userland/Applications/PartitionEditor/CMakeLists.txt
+++ b/Userland/Applications/PartitionEditor/CMakeLists.txt
@@ -11,5 +11,5 @@ set(SOURCES
PartitionModel.cpp
)
-serenity_app(PartitionEditor ICON app-space-analyzer)
+serenity_app(PartitionEditor ICON app-partition-editor)
target_link_libraries(PartitionEditor LibMain LibGUI LibPartition)
diff --git a/Userland/Applications/PartitionEditor/main.cpp b/Userland/Applications/PartitionEditor/main.cpp
index dff685ce4d..66cca3d569 100644
--- a/Userland/Applications/PartitionEditor/main.cpp
+++ b/Userland/Applications/PartitionEditor/main.cpp
@@ -39,8 +39,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
TRY(Core::System::unveil("/res", "r"));
TRY(Core::System::unveil(nullptr, nullptr));
- // FIXME: PartitionEditor needs its own icon.
- auto app_icon = TRY(GUI::Icon::try_create_default_icon("app-space-analyzer"sv));
+ auto app_icon = TRY(GUI::Icon::try_create_default_icon("app-partition-editor"sv));
auto window = TRY(GUI::Window::try_create());
window->set_title("Partition Editor");