Commit 7fa9fb9f authored by Eric Armbruster's avatar Eric Armbruster Committed by Christoph Cullmann
Browse files

Rename Copy File Path to Copy Location and change icon

This is to be consistent with other Dolphin.
parent 09d47810
......@@ -133,7 +133,7 @@ KateFileTree::KateFileTree(QWidget *parent)
connect(m_filelistOpenContainingFolder, &QAction::triggered, this, &KateFileTree::slotOpenContainingFolder);
m_filelistOpenContainingFolder->setWhatsThis(i18n("Open the folder this file is located in."));
m_filelistCopyFilename = new QAction(QIcon::fromTheme(QStringLiteral("edit-copy")), i18nc("@action:inmenu", "Copy File Path"), this);
m_filelistCopyFilename = new QAction(QIcon::fromTheme(QStringLiteral("edit-copy-path")), i18nc("@action:inmenu", "Copy Location"), this);
connect(m_filelistCopyFilename, &QAction::triggered, this, &KateFileTree::slotCopyFilename);
m_filelistCopyFilename->setWhatsThis(i18n("Copy path and filename to the clipboard."));
......
......@@ -62,7 +62,7 @@ void KateProjectTreeViewContextMenu::exec(const QString &filename, const QModelI
/**
* Copy Path, always available, put that to the top
*/
QAction *copyAction = menu.addAction(QIcon::fromTheme(QStringLiteral("edit-copy")), i18n("Copy File Path"));
QAction *copyAction = menu.addAction(QIcon::fromTheme(QStringLiteral("edit-copy-path")), i18n("Copy Location"));
QAction *addFile = nullptr;
QAction *addFolder = nullptr;
......
......@@ -312,8 +312,8 @@ void KateMainWindow::setupActions()
a->setWhatsThis(i18n("Reload all open documents."));
a = actionCollection()->addAction(QStringLiteral("file_copy_filepath"));
a->setIcon(QIcon::fromTheme(QStringLiteral("edit-copy")));
a->setText(i18n("Copy File &Path"));
a->setIcon(QIcon::fromTheme(QStringLiteral("edit-copy-path")));
a->setText(i18n("Copy Location"));
connect(a, &QAction::triggered, KateApp::self()->documentManager(), [this]() {
auto &&view = viewManager()->activeView();
KateFileActions::copyFilePathToClipboard(view->document());
......
......@@ -1410,7 +1410,7 @@ active frame, click the document name in the list.</para>
<para>The context menu has some common actions from the <guimenu>File</guimenu> menu.</para>
<para>Additionally there are filemanager actions to rename or delete the file. With
<guimenuitem>Copy File Path</guimenuitem> you can copy the full path of the document
<guimenuitem>Copy Location</guimenuitem> you can copy the full path of the document
to the clipboard.</para>
<para>You can sort the list in a few different ways by right clicking the
......
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