From 7c6983016971cc31b9535cdaf1ab1741b3dcd2a4 Mon Sep 17 00:00:00 2001 From: Mustafa Quraish Date: Wed, 5 Jan 2022 01:14:24 -0500 Subject: [PATCH] PixelPaint: Add new icon for `New Image from Clipboard` This is just a slight variation of `/res/icons/16x16/paste.png`, I've removed the lines on the paper to make it look consistent with the "New Image" icon, which is an empty piece of paper. --- Base/res/icons/pixelpaint/new-clipboard.png | Bin 0 -> 274 bytes Userland/Applications/PixelPaint/MainWidget.cpp | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 Base/res/icons/pixelpaint/new-clipboard.png diff --git a/Base/res/icons/pixelpaint/new-clipboard.png b/Base/res/icons/pixelpaint/new-clipboard.png new file mode 100644 index 0000000000000000000000000000000000000000..92a4d4c43edbd5e27852d7fb34e45143cf6986f7 GIT binary patch literal 274 zcmeAS@N?(olHy`uVBq!ia0y~yU=RRd4mJh`2Kmqb6B!s7ZhE>nhFJ6_A7F24ZvNkF zAg9XHW8k)ax>?tuCvUthujeGFu5tCVq4s+J3EC~ro z$%(Na=Bw!c`QJZF!?A7R8`ctsjf^K4p4eIBWoG~M=UC9rXp`*7crS*7xq?|x#G`_d cnVFd(_++%)wg$a^1_lNOPgg&ebxsLQ0Dos?Pyhe` literal 0 HcmV?d00001 diff --git a/Userland/Applications/PixelPaint/MainWidget.cpp b/Userland/Applications/PixelPaint/MainWidget.cpp index 3fddce4a44..b43f283c6d 100644 --- a/Userland/Applications/PixelPaint/MainWidget.cpp +++ b/Userland/Applications/PixelPaint/MainWidget.cpp @@ -120,7 +120,7 @@ void MainWidget::initialize_menubar(GUI::Window& window) }); m_new_image_from_clipboard_action = GUI::Action::create( - "&New Image from Clipboard", { Mod_Ctrl | Mod_Shift, Key_V }, Gfx::Bitmap::try_load_from_file("/res/icons/16x16/new.png").release_value_but_fixme_should_propagate_errors(), [&](auto&) { + "&New Image from Clipboard", { Mod_Ctrl | Mod_Shift, Key_V }, Gfx::Bitmap::try_load_from_file("/res/icons/pixelpaint/new-clipboard.png").release_value_but_fixme_should_propagate_errors(), [&](auto&) { create_image_from_clipboard(); });