diff options
authorElvis Angelaccio <[email protected]>2017-10-04 16:11:59 +0200
committerElvis Angelaccio <[email protected]>2017-10-06 16:21:38 +0200
commit0d662631e25ce2a8d8b1a6ef8f43846551714cea (patch)
parent2be022cef52df7ddc76e6694c1ad5c8bacbeeed3 (diff)
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: https://websvn.kde.org/?view=revision&revision=350820 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 fbb7bb4285). For the record, see also a03c76f3e9. Dropping this group makes Open appear in the toolbar after New, as expected. Differential Revision: https://phabricator.kde.org/D8142
1 files changed, 3 insertions, 4 deletions
diff --git a/kate/data/kateui.rc b/kate/data/kateui.rc
index 7ddf783..e5bbc86 100644
--- a/kate/data/kateui.rc
+++ b/kate/data/kateui.rc
@@ -1,6 +1,6 @@
<?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"/>