Commit 8bfeeed4 authored by Alexander Lohnau's avatar Alexander Lohnau 💬
Browse files

Don't manually set list of allowed runners for kickoff

The RunnerManager will read the enabled plugins from the krunnerrc file.
This way enabled plugins are configurable and consistent with KRunner.
parent 53c4c038
......@@ -30,14 +30,6 @@
<label>List of applications at the top of the "Computer" tab.</label>
<entry name="useExtraRunners" type="Bool">
<label>Whether to use additional KRunner plugins to produce results in the search.</label>
<entry name="runners" type="StringList">
<label>The plugin id's of additional KRunner plugins to use. Only used if useExtraRunners is true.</label>
<entry name="menuItems" type="StringList">
<label>The menu tabs to show.</label>
......@@ -29,7 +29,6 @@ ColumnLayout {
property string cfg_icon: plasmoid.configuration.icon
property alias cfg_switchTabsOnHover: switchTabsOnHoverCheckbox.checked
property alias cfg_showAppsByName: showApplicationsByNameCheckbox.checked
property alias cfg_useExtraRunners: useExtraRunners.checked
property alias cfg_alphaSort: alphaSort.checked
property alias cfg_menuItems: configButtons.menuItems
......@@ -101,9 +100,10 @@ ColumnLayout {
text: i18n("Show applications by name")
CheckBox {
id: useExtraRunners
text: i18n("Expand search to bookmarks, files and emails")
Button { "settings-configure"
text: i18n("Configure enabled search plugins")
CheckBox {
......@@ -49,20 +49,8 @@ Item {
Kicker.RunnerModel {
id: runnerModel
appletInterface: plasmoid
runners: {
var runners = ["desktopsessions", "services", "places",
"PowerDevil", "calculator", "unitconverter"];
if (plasmoid.configuration.useExtraRunners) {
runners = runners.concat(plasmoid.configuration.runners);
return runners;
mergeResults: true
favoritesModel: globalFavorites
......@@ -60,7 +60,7 @@ SearchConfigModule::SearchConfigModule(QWidget* parent, const QVariantList& args
QHBoxLayout *headerLayout = new QHBoxLayout(this);
QLabel *label = new QLabel(i18n("Enable or disable KRunner plugins:"));
QLabel *label = new QLabel(i18n("Enable or disable plugins (used in KRunner and Application Launcher)"));
m_clearHistoryButton = new QPushButton(i18n("Clear History"));
m_clearHistoryButton->setIcon(QIcon::fromTheme(isRightToLeft() ? QStringLiteral("edit-clear-locationbar-ltr")
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