From ff72b4d475d8e80bab7859996749eee0b8080146 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Fri, 13 Sep 2019 23:07:59 +0200 Subject: [PATCH] FileManager+Base: Add "properties" icon Something to show for the properties action in FileManager. It still doesn't actually do anything, but at least now it looks neat. :^) --- Applications/FileManager/main.cpp | 4 ++-- Base/res/icons/16x16/properties.png | Bin 0 -> 282 bytes 2 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 Base/res/icons/16x16/properties.png diff --git a/Applications/FileManager/main.cpp b/Applications/FileManager/main.cpp index 9d2f5ad0c4..b24a935423 100644 --- a/Applications/FileManager/main.cpp +++ b/Applications/FileManager/main.cpp @@ -144,7 +144,7 @@ int main(int argc, char** argv) }); copy_action->set_enabled(false); - auto paste_action = GAction::create("Paste", { Mod_Ctrl, Key_V },GraphicsBitmap::load_from_file("/res/icons/paste16.png"), [&](const GAction&) { + auto paste_action = GAction::create("Paste", { Mod_Ctrl, Key_V }, GraphicsBitmap::load_from_file("/res/icons/paste16.png"), [&](const GAction&) { dbgprintf("'Paste' action activated!\n"); auto copied_lines = GClipboard::the().data().split('\n'); if (copied_lines.is_empty() || copied_lines.first() != "copy") { @@ -167,7 +167,7 @@ int main(int argc, char** argv) } }); - auto properties_action = GAction::create("Properties...", { Mod_Alt, Key_Return }, [](auto&) {}); + auto properties_action = GAction::create("Properties...", { Mod_Alt, Key_Return }, GraphicsBitmap::load_from_file("/res/icons/16x16/properties.png"), [](auto&) {}); auto delete_action = GAction::create("Delete", { Mod_None, Key_Delete }, GraphicsBitmap::load_from_file("/res/icons/16x16/delete.png"), [](const GAction&) { dbgprintf("'Delete' action activated!\n"); diff --git a/Base/res/icons/16x16/properties.png b/Base/res/icons/16x16/properties.png new file mode 100644 index 0000000000000000000000000000000000000000..5eebb37ce58e9bb2a1cce1bf8b1431c9b519d752 GIT binary patch literal 282 zcmeAS@N?(olHy`uVBq!ia0y~yU=RRd4mJh`2Kmqb6B!s79(uYshFF|F8@!RP$v~i1 z^~e$Xg5vBB`v=PwcXsb*h-Z{eZ9aLG*Y4oSBY|dh4HN#IvGkbDv{fpy#`CiG`uFd? zzT-N>Qf%ohIQgxO5UcfCF&2h>-Fxh1-r6;+n{Ir~`@EdPMEUR1X1DJikuO-6yZ*lC zTEm^WS?Rnr3@%@)vZksAJZUK2;=8taMx?c-Iv3j$gR>VsS2nZESv)yty@$w|H%x+p zt8^F{S~B^JS17e-@*TUepm>$=6DQ52-0!8c&NQw&czmIxror+4uI) n_O5@G^k@7s