mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 05:47:35 +00:00
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
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
|
PartitionModel.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
serenity_app(PartitionEditor ICON app-space-analyzer)
|
serenity_app(PartitionEditor ICON app-partition-editor)
|
||||||
target_link_libraries(PartitionEditor LibMain LibGUI LibPartition)
|
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("/res", "r"));
|
||||||
TRY(Core::System::unveil(nullptr, nullptr));
|
TRY(Core::System::unveil(nullptr, nullptr));
|
||||||
|
|
||||||
// FIXME: PartitionEditor needs its own icon.
|
auto app_icon = TRY(GUI::Icon::try_create_default_icon("app-partition-editor"sv));
|
||||||
auto app_icon = TRY(GUI::Icon::try_create_default_icon("app-space-analyzer"sv));
|
|
||||||
|
|
||||||
auto window = TRY(GUI::Window::try_create());
|
auto window = TRY(GUI::Window::try_create());
|
||||||
window->set_title("Partition Editor");
|
window->set_title("Partition Editor");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue