From d37590497852d28bcda5451f216b27d48b83126d Mon Sep 17 00:00:00 2001 From: thankyouverycool <66646555+thankyouverycool@users.noreply.github.com> Date: Tue, 4 Jan 2022 19:07:07 -0500 Subject: [PATCH] Base+LibGUI: Add unique "Save As" icon Icon by: Mustafa Quraish --- Base/res/icons/16x16/save-as.png | Bin 0 -> 300 bytes Userland/Libraries/LibGUI/CommonActions.cpp | 2 +- Userland/Libraries/LibGUI/FilePicker.cpp | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 Base/res/icons/16x16/save-as.png diff --git a/Base/res/icons/16x16/save-as.png b/Base/res/icons/16x16/save-as.png new file mode 100644 index 0000000000000000000000000000000000000000..76e63971bac8ca2d001b7884bd5a0cf6677cdb0f GIT binary patch literal 300 zcmeAS@N?(olHy`uVBq!ia0y~yU=RRd4mJh`2Kmqb6B!s7K6|=2hFJ7Y4Kn0AWWci} z@P4S7i@HPwV-UOA5*JmG{&O+W)v2elRHB+`a6~=FUS53=9mOu6{1-oD!M< D<&$}r literal 0 HcmV?d00001 diff --git a/Userland/Libraries/LibGUI/CommonActions.cpp b/Userland/Libraries/LibGUI/CommonActions.cpp index 7aebcd02da..53cdd6e102 100644 --- a/Userland/Libraries/LibGUI/CommonActions.cpp +++ b/Userland/Libraries/LibGUI/CommonActions.cpp @@ -41,7 +41,7 @@ NonnullRefPtr make_save_action(Function callback, Core::O NonnullRefPtr make_save_as_action(Function callback, Core::Object* parent) { - auto action = Action::create("Save &As...", { Mod_Ctrl | Mod_Shift, Key_S }, Gfx::Bitmap::try_load_from_file("/res/icons/16x16/save.png").release_value_but_fixme_should_propagate_errors(), move(callback), parent); + auto action = Action::create("Save &As...", { Mod_Ctrl | Mod_Shift, Key_S }, Gfx::Bitmap::try_load_from_file("/res/icons/16x16/save-as.png").release_value_but_fixme_should_propagate_errors(), move(callback), parent); action->set_status_tip("Save the current file with a new name"); return action; } diff --git a/Userland/Libraries/LibGUI/FilePicker.cpp b/Userland/Libraries/LibGUI/FilePicker.cpp index 59cb9453ff..4d7001cab7 100644 --- a/Userland/Libraries/LibGUI/FilePicker.cpp +++ b/Userland/Libraries/LibGUI/FilePicker.cpp @@ -79,7 +79,7 @@ FilePicker::FilePicker(Window* parent_window, Mode mode, StringView filename, St break; case Mode::Save: set_title("Save as"); - set_icon(Gfx::Bitmap::try_load_from_file("/res/icons/16x16/save.png").release_value_but_fixme_should_propagate_errors()); + set_icon(Gfx::Bitmap::try_load_from_file("/res/icons/16x16/save-as.png").release_value_but_fixme_should_propagate_errors()); break; } resize(560, 320);