Base+LibGUI: Add unique "Save As" icon

Icon by: Mustafa Quraish <mustafaq9@gmail.com>
This commit is contained in:
thankyouverycool 2022-01-04 19:07:07 -05:00 committed by Andreas Kling
parent 7c69830169
commit d375904978
Notes: sideshowbarker 2024-07-17 21:37:11 +09:00
3 changed files with 2 additions and 2 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 300 B

View File

@ -41,7 +41,7 @@ NonnullRefPtr<Action> make_save_action(Function<void(Action&)> callback, Core::O
NonnullRefPtr<Action> make_save_as_action(Function<void(Action&)> 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;
}

View File

@ -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);