diff options
author | Linus Groh <mail@linusgroh.de> | 2021-05-27 18:43:23 +0100 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-05-27 18:43:23 +0100 |
commit | dbb0ee07047c44afaf4700eaf3160fa817c51e20 (patch) | |
tree | 77478e529417fbd2e1ebb215a8c24e4db70b1bf3 | |
parent | b1e368ef87fb0bf45ba4976543ab18dac400fdb3 (diff) | |
download | serenity-dbb0ee07047c44afaf4700eaf3160fa817c51e20.zip |
PDFViewer: Fix previous/next page toolbar button icons
go-up.png and go-down.png don't exist (and would look silly here, with
the buttons being next to each other horizontally). Use go-back.png and
go-forward.png instead.
-rw-r--r-- | Userland/Applications/PDFViewer/PDFViewerWidget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Applications/PDFViewer/PDFViewerWidget.cpp b/Userland/Applications/PDFViewer/PDFViewerWidget.cpp index 861d411e73..25235555e0 100644 --- a/Userland/Applications/PDFViewer/PDFViewerWidget.cpp +++ b/Userland/Applications/PDFViewer/PDFViewerWidget.cpp @@ -66,13 +66,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-up.png"), [&](auto&) { + 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&) { if (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-down.png"), [&](auto&) { + 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&) { if (m_viewer->current_page() < m_viewer->document()->get_page_count() - 1) m_page_text_box->set_current_number(m_viewer->current_page() + 2); }); |