Base: Add Icon for Partition Editor
This adds a 16x16 and 32x32 icon that is missing for the Partition Editor.
This commit is contained in:
parent
849495915b
commit
a5cef2c41a
Notes:
sideshowbarker
2024-07-17 18:13:59 +09:00
Author: https://github.com/electrikmilk Commit: https://github.com/SerenityOS/serenity/commit/a5cef2c41a Pull-request: https://github.com/SerenityOS/serenity/pull/14849
4 changed files with 2 additions and 3 deletions
BIN
Base/res/icons/16x16/app-partition-editor.png
Normal file
BIN
Base/res/icons/16x16/app-partition-editor.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 294 B |
BIN
Base/res/icons/32x32/app-partition-editor.png
Normal file
BIN
Base/res/icons/32x32/app-partition-editor.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 415 B |
|
@ -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)
|
||||
|
|
|
@ -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");
|
||||
|
|
Loading…
Add table
Reference in a new issue