mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 19:58:11 +00:00
ImageViewer: Rename "Go Back" and "Go Forward" actions
This commit renames "Go Back" to "Go to Previous" and "Go Forward" to "Go to Next". This better reflects what the actions do.
This commit is contained in:
parent
b983dc8807
commit
644a61c318
1 changed files with 2 additions and 2 deletions
|
@ -180,12 +180,12 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
widget->navigate(ViewWidget::Directions::First);
|
||||
});
|
||||
|
||||
auto go_back_action = GUI::Action::create("Go &Back", { Mod_None, Key_Left }, TRY(Gfx::Bitmap::load_from_file("/res/icons/16x16/go-back.png"sv)),
|
||||
auto go_back_action = GUI::Action::create("Go to &Previous", { Mod_None, Key_Left }, TRY(Gfx::Bitmap::load_from_file("/res/icons/16x16/go-back.png"sv)),
|
||||
[&](auto&) {
|
||||
widget->navigate(ViewWidget::Directions::Back);
|
||||
});
|
||||
|
||||
auto go_forward_action = GUI::Action::create("Go &Forward", { Mod_None, Key_Right }, TRY(Gfx::Bitmap::load_from_file("/res/icons/16x16/go-forward.png"sv)),
|
||||
auto go_forward_action = GUI::Action::create("Go to &Next", { Mod_None, Key_Right }, TRY(Gfx::Bitmap::load_from_file("/res/icons/16x16/go-forward.png"sv)),
|
||||
[&](auto&) {
|
||||
widget->navigate(ViewWidget::Directions::Forward);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue