diff options
author | thankyouverycool <66646555+thankyouverycool@users.noreply.github.com> | 2020-08-24 07:02:03 -0400 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-08-27 15:38:02 +0200 |
commit | ebba297b42a54211ba501fd254b629a15ecf5028 (patch) | |
tree | a4bc7465371ad97844415f2d98740123eaf18f0f /Libraries | |
parent | 0bb2025b69a4f07dfb518023f205ae3e331fedf0 (diff) | |
download | serenity-ebba297b42a54211ba501fd254b629a15ecf5028.zip |
Base: Move 16x16 common icons to /res/icons/16x16/
Drops the '16' suffix from filenames. Resizes inconsistent
audio-volume icons to intended size.
Diffstat (limited to 'Libraries')
-rw-r--r-- | Libraries/LibGUI/Action.cpp | 2 | ||||
-rw-r--r-- | Libraries/LibVT/TerminalWidget.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Libraries/LibGUI/Action.cpp b/Libraries/LibGUI/Action.cpp index 34ea0c4037..fc98dce345 100644 --- a/Libraries/LibGUI/Action.cpp +++ b/Libraries/LibGUI/Action.cpp @@ -87,7 +87,7 @@ NonnullRefPtr<Action> make_copy_action(Function<void(Action&)> callback, Core::O NonnullRefPtr<Action> make_paste_action(Function<void(Action&)> callback, Core::Object* parent) { - return Action::create("Paste", { Mod_Ctrl, Key_V }, Gfx::Bitmap::load_from_file("/res/icons/paste16.png"), move(callback), parent); + return Action::create("Paste", { Mod_Ctrl, Key_V }, Gfx::Bitmap::load_from_file("/res/icons/16x16/paste.png"), move(callback), parent); } NonnullRefPtr<Action> make_fullscreen_action(Function<void(Action&)> callback, Core::Object* parent) diff --git a/Libraries/LibVT/TerminalWidget.cpp b/Libraries/LibVT/TerminalWidget.cpp index f9365075c9..71aaa0b57f 100644 --- a/Libraries/LibVT/TerminalWidget.cpp +++ b/Libraries/LibVT/TerminalWidget.cpp @@ -129,7 +129,7 @@ TerminalWidget::TerminalWidget(int ptm_fd, bool automatic_size_policy, RefPtr<Co copy(); }); - m_paste_action = GUI::Action::create("Paste", { Mod_Ctrl | Mod_Shift, Key_V }, Gfx::Bitmap::load_from_file("/res/icons/paste16.png"), [this](auto&) { + m_paste_action = GUI::Action::create("Paste", { Mod_Ctrl | Mod_Shift, Key_V }, Gfx::Bitmap::load_from_file("/res/icons/16x16/paste.png"), [this](auto&) { paste(); }); |