[utilities/kate] /: Always use quickopen icon
Christoph Cullmann
null at kde.org
Sat Jul 9 17:19:20 BST 2022
Git commit 09d47810223f9d06c7e608e6f737bfe92574af3e by Christoph Cullmann, on behalf of Eric Armbruster.
Committed on 09/07/2022 at 16:19.
Pushed by cullmann into branch 'master'.
Always use quickopen icon
We should only use one icon per action. This improves recognizability for the user.
M +1 -1 apps/lib/kateviewspace.cpp
M +2 -2 doc/kate/menus.docbook
https://invent.kde.org/utilities/kate/commit/09d47810223f9d06c7e608e6f737bfe92574af3e
diff --git a/apps/lib/kateviewspace.cpp b/apps/lib/kateviewspace.cpp
index 115a7c6d8..b7f680dc1 100644
--- a/apps/lib/kateviewspace.cpp
+++ b/apps/lib/kateviewspace.cpp
@@ -98,7 +98,7 @@ KateViewSpace::KateViewSpace(KateViewManager *viewManager, QWidget *parent, cons
hLayout->addWidget(m_quickOpen);
// forward tab bar quick open action to global quick open action
- QAction *bridge = new QAction(QIcon::fromTheme(QStringLiteral("tab-duplicate")), i18nc("indicator for more documents", "+%1", 100), this);
+ QAction *bridge = new QAction(QIcon::fromTheme(QStringLiteral("quickopen")), i18nc("indicator for more documents", "+%1", 100), this);
m_quickOpen->setDefaultAction(bridge);
QAction *quickOpen = m_viewManager->mainWindow()->actionCollection()->action(QStringLiteral("view_quick_open"));
Q_ASSERT(quickOpen);
diff --git a/doc/kate/menus.docbook b/doc/kate/menus.docbook
index a90428eff..71a6fad48 100644
--- a/doc/kate/menus.docbook
+++ b/doc/kate/menus.docbook
@@ -766,7 +766,7 @@ list view. Pressing the &Enter; key or double clicking on an item in the list sw
the view to the document selected in the list view. This makes switching between
documents easier, if there are a lot of them open.</para>
<para>This action is available also using the
-<inlinemediaobject><imageobject><imagedata fileref="tab-duplicate-22.png" format="PNG"/></imageobject></inlinemediaobject>
+<inlinemediaobject><imageobject><imagedata fileref="quickopen-22.png" format="PNG"/></imageobject></inlinemediaobject>
icon at the top right of the editor window.</para>
</listitem>
</varlistentry>
@@ -1755,7 +1755,7 @@ described in the &systemsettings; module <ulink url="help:/kcontrol/colors/index
</menuchoice></term>
<listitem><para>Tabs are moveable using the &LMB; and have actions in the context menu
to close documents, copy the path to the clipboard or open the folder of the document in the filemanager.
-Using the <inlinemediaobject><imageobject><imagedata fileref="tab-duplicate-22.png" format="PNG"/></imageobject></inlinemediaobject>
+Using the <inlinemediaobject><imageobject><imagedata fileref="quickopen-22.png" format="PNG"/></imageobject></inlinemediaobject>
<link linkend="view-quick-open"><guibutton>Quick Open</guibutton> </link> button makes switching between documents easy.
Click the <inlinemediaobject><imageobject><imagedata fileref="view-split-left-right-22.png" format="PNG"/></imageobject></inlinemediaobject>
button with the &LMB; to open a menu with actions from the <guimenu>View</guimenu><guisubmenu>Split View</guisubmenu> menu.
More information about the kde-doc-english
mailing list