Commit bef7825f authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

Improve integration of KTextEditor's Settings > Editor Color Theme menu

* adapt the action name for the window UI theme to be speficic,
  using same term as Kate
* add group entry to ui.rc file used by KTextEditor to place the menu
parent 792d9e58
Pipeline #259966 passed with stage
in 28 minutes and 56 seconds
<!DOCTYPE gui SYSTEM "kpartgui.dtd">
<gui version="149" name="kdevelop" translationDomain="kdevelop">
<gui version="150" name="kdevelop" translationDomain="kdevelop">
<MenuBar>
<Menu name="session" append="first_menu">
......@@ -168,7 +168,8 @@
<Menu name="settings">
<text context="@title:menu">Settings</text>
<Action name="colorscheme_menu"/>
<Action name="colorscheme_menu" group="color"/>
<DefineGroup name="color"/><!-- Used by katepart5ui.rc to place "view_schemas" action -->
<DefineGroup append="show_toolbar_merge" name="show_toolbar_merge"/>
<DefineGroup append="show_merge" name="show_merge" />
<DefineGroup append="configure_merge" name="configure_merge" />
......
......@@ -41,7 +41,7 @@ ColorSchemeChooser::ColorSchemeChooser(QObject* parent)
setMenu(selectionMenu->menu());
menu()->setIcon(QIcon::fromTheme(QStringLiteral("preferences-desktop-color")));
menu()->setTitle(i18n("&Color Scheme"));
menu()->setTitle(i18n("&Window Color Scheme"));
}
QString ColorSchemeChooser::loadCurrentScheme() const
......
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