Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit 0d662631 authored by Elvis Angelaccio's avatar Elvis Angelaccio

Fix location of Open action in the toolbar.

The file_open standard action should always appear after file_new. This
is not the case in the Kate toolbar, where we have Open before New.

This happens because there is a custom file_open group that breaks the
kxmlgui merging index (the file_open action gets 0 rather than 1).

This was introduced a long time ago with:

The log message just says

    "to allow the template plugin a button in a relevant position"

which is no longer relevant (the plugin was dropped in fbb7bb42).
For the record, see also a03c76f3.

Dropping this group makes Open appear in the toolbar after New, as expected.

Differential Revision:
parent 2be022ce
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE kpartgui SYSTEM "kpartgui.dtd">
<kpartgui name="kate" version="81" translationDomain="kate">
<kpartgui name="kate" version="82" translationDomain="kate">
<Menu name="file" noMerge="1">
......@@ -108,9 +108,8 @@
<ToolBar name="mainToolBar" noMerge="1">
<text>Main Toolbar</text>
<DefineGroup name="file_open"/>
<Action name="file_new" group="file_open"/>
<Action name="file_open" group="file_open"/>
<Action name="file_new"/>
<Action name="file_open"/>
<DefineGroup name="file_operations"/>
Markdown is supported
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