From 69410d7f4ef46b11335fc202fa83ccc6d94ddf3a Mon Sep 17 00:00:00 2001 From: Matthew Olsson Date: Tue, 25 May 2021 08:30:39 -0700 Subject: [PATCH] PDFViewer: Switch back to up/down page icons This time I remembered to actually commit the image files, oops :^) --- Base/res/icons/16x16/go-down.png | Bin 0 -> 204 bytes Base/res/icons/16x16/go-up.png | Bin 0 -> 191 bytes .../Applications/PDFViewer/PDFViewerWidget.cpp | 4 ++-- 3 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 Base/res/icons/16x16/go-down.png create mode 100644 Base/res/icons/16x16/go-up.png diff --git a/Base/res/icons/16x16/go-down.png b/Base/res/icons/16x16/go-down.png new file mode 100644 index 0000000000000000000000000000000000000000..58941b669ea0b17902f90159b867f874df383cea GIT binary patch literal 204 zcmeAS@N?(olHy`uVBq!ia0y~yU=RRd4mJh`2Kmqb6B!s7CVRR#hFJ8Top_O#S&_$i zvh69QlHNN~iJ}n?cd;t77V+ynpt5%@O{)xnNf|*Y~D9<~dPw*)}eC z!#nAW_XO+4>kq`LSv=X&(p&yy2$Tvm99Zn~QdMsC4fhUKMX@s+>qTc|xctmvV`~4I z@i(Y-MX%-l$#Z|%*vm*)(q`jUO&%#Vl{ zdp3riS=`fn1eI>=|3A6;%NzCu$D*FkzQ!G`Uwo87%~q0ufq}u()z4*}Q$iB}Bi>Ft literal 0 HcmV?d00001 diff --git a/Userland/Applications/PDFViewer/PDFViewerWidget.cpp b/Userland/Applications/PDFViewer/PDFViewerWidget.cpp index 7f7b0c7f4d..f9681fb02e 100644 --- a/Userland/Applications/PDFViewer/PDFViewerWidget.cpp +++ b/Userland/Applications/PDFViewer/PDFViewerWidget.cpp @@ -67,13 +67,13 @@ void PDFViewerWidget::create_toolbar() toolbar.add_action(*open_outline_action); toolbar.add_separator(); - m_go_to_prev_page_action = GUI::Action::create("Go to &Previous Page", Gfx::Bitmap::load_from_file("/res/icons/16x16/go-back.png"), [&](auto&) { + m_go_to_prev_page_action = GUI::Action::create("Go to &Previous Page", Gfx::Bitmap::load_from_file("/res/icons/16x16/go-up.png"), [&](auto&) { VERIFY(m_viewer->current_page() > 0); m_page_text_box->set_current_number(m_viewer->current_page()); }); m_go_to_prev_page_action->set_enabled(false); - m_go_to_next_page_action = GUI::Action::create("Go to &Next Page", Gfx::Bitmap::load_from_file("/res/icons/16x16/go-forward.png"), [&](auto&) { + m_go_to_next_page_action = GUI::Action::create("Go to &Next Page", Gfx::Bitmap::load_from_file("/res/icons/16x16/go-down.png"), [&](auto&) { VERIFY(m_viewer->current_page() < m_viewer->document()->get_page_count() - 1); m_page_text_box->set_current_number(m_viewer->current_page() + 2); });