Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 347f43c4 authored by Zren (Chris Holland)'s avatar Zren (Chris Holland)

Add "Get Wallpaper Plugins..." button to Config Desktop dialog

FEATURE: 386621

Differential Revision: https://phabricator.kde.org/D12041
parent 0337f979
......@@ -21,6 +21,9 @@ import org.kde.plasma.configuration 2.0
import QtQuick.Controls 1.0 as QtControls
import QtQuick.Layouts 1.1
import org.kde.kconfig 1.0 // for KAuthorized
import org.kde.plasma.private.shell 2.0 as ShellPrivate // for WallpaperPlugin
ColumnLayout {
id: root
......@@ -65,15 +68,12 @@ ColumnLayout {
Row {
spacing: units.largeSpacing / 2
anchors.right: wallpaperRow.right
visible: pluginComboBox.count > 1
Item {
width: units.largeSpacing
height: parent.height
}
QtControls.Label {
width: formAlignment - units.largeSpacing
anchors.verticalCenter: pluginComboBox.verticalCenter
text: i18nd("plasma_shell_org.kde.plasma.desktop", "Layout:")
horizontalAlignment: Text.AlignRight
}
QtControls.ComboBox {
id: pluginComboBox
......@@ -149,6 +149,16 @@ ColumnLayout {
root.configurationChanged()
}
}
QtControls.Button {
iconName: "get-hot-new-stuff"
text: i18nd("plasma_shell_org.kde.plasma.desktop", "Get New Wallpaper Plugins...")
visible: KAuthorized.authorize("ghns")
onClicked: wallpaperPlugin.getNewWallpaperPlugin(this)
ShellPrivate.WallpaperPlugin {
id: wallpaperPlugin
}
}
}
Item {
......
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