Commit 0afdf81d authored by Eric Armbruster's avatar Eric Armbruster Committed by Christoph Cullmann
Browse files

Rename forward/backward history actions to better distinguish them from other...

Rename forward/backward history actions to better distinguish them from other forward/backward actions

Also move these actions into the goto submenu.

Closes #51
parent c3cc8c2d
Pipeline #150364 passed with stage
in 4 minutes and 39 seconds
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE gui SYSTEM "kpartgui.dtd">
<gui name="kate" version="90" translationDomain="kate">
<gui name="kate" version="91" translationDomain="kate">
<MenuBar>
<Menu name="file" noMerge="1">
<text>&amp;File</text>
......@@ -46,6 +46,12 @@
<Separator/>
<DefineGroup name="edit_find_merge"/>
<Separator/>
<Menu name="edit_goto" group="edit_goto"><text>Go To</text>
<DefineGroup name="edit_goto_history"/>
<Action name="view_history_back" group="edit_goto_history" />
<Action name="view_history_forward" group="edit_goto_history" />
<Separator group="edit_goto_history" />
</Menu>
</Menu>
<Menu name="view">
<text>&amp;View</text>
......
......@@ -472,7 +472,7 @@ void KateMainWindow::setupActions()
// location history actions
a = actionCollection()->addAction(QStringLiteral("view_history_back"));
a->setIcon(QIcon::fromTheme(QStringLiteral("arrow-left")));
a->setText(i18n("Go back"));
a->setText(i18n("Go to Previous Location"));
connect(a, &QAction::triggered, this, [this] {
m_viewManager->activeViewSpace()->goBack();
});
......@@ -480,7 +480,7 @@ void KateMainWindow::setupActions()
a = actionCollection()->addAction(QStringLiteral("view_history_forward"));
a->setIcon(QIcon::fromTheme(QStringLiteral("arrow-right")));
a->setText(i18n("Go forward"));
a->setText(i18n("Go to Next Location"));
connect(a, &QAction::triggered, this, [this] {
m_viewManager->activeViewSpace()->goForward();
});
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment