diff --git a/Plasma/Plasma_Widgets/User/org.kde.desktopcontainment/contents/config/main.xml b/Plasma/Plasma_Widgets/User/org.kde.desktopcontainment/contents/config/main.xml
index f551bbb..ad83f9c 100755
--- a/Plasma/Plasma_Widgets/User/org.kde.desktopcontainment/contents/config/main.xml
+++ b/Plasma/Plasma_Widgets/User/org.kde.desktopcontainment/contents/config/main.xml
@@ -135,5 +135,13 @@
all/all
+
+
+ true
+
+
+
+ false
+
diff --git a/Plasma/Plasma_Widgets/User/org.kde.desktopcontainment/contents/ui/ConfigIcons.qml b/Plasma/Plasma_Widgets/User/org.kde.desktopcontainment/contents/ui/ConfigIcons.qml
index 8b59aa6..7b67926 100755
--- a/Plasma/Plasma_Widgets/User/org.kde.desktopcontainment/contents/ui/ConfigIcons.qml
+++ b/Plasma/Plasma_Widgets/User/org.kde.desktopcontainment/contents/ui/ConfigIcons.qml
@@ -44,6 +44,9 @@ Item {
property alias cfg_labelWidth: labelWidth.currentIndex
property alias cfg_textLines: textLines.value
+ property alias cfg_textShadows: textShadows.checked
+ property alias cfg_iconShadows: iconShadows.checked
+
readonly property bool lockedByKiosk: !KAuthorized.authorize("editable_desktop_icons")
IconDialog {
@@ -299,6 +302,14 @@ Item {
text: i18n("Rename inline by clicking selected item's text")
}
+ CheckBox {
+ id: textShadows
+ text: i18n("Use drop shadows for icon labels on the desktop")
+ }
+ CheckBox {
+ id: iconShadows
+ text: i18n("Use drop shadows for icons on the desktop")
+ }
CheckBox {
id: popups
@@ -307,12 +318,14 @@ Item {
text: i18n("Folder preview popups")
}
+
CheckBox {
id: previews
text: i18n("Preview thumbnails")
}
+
Button {
id: previewSettings
Layout.fillWidth: true
diff --git a/Plasma/Plasma_Widgets/User/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml b/Plasma/Plasma_Widgets/User/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml
index dffbe49..094aace 100755
--- a/Plasma/Plasma_Widgets/User/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml
+++ b/Plasma/Plasma_Widgets/User/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml
@@ -465,7 +465,7 @@ Item {
source: icon
- visible: !editor || editor.targetItem != main
+ visible: (!editor || editor.targetItem != main) && plasmoid.configuration.iconShadows
}
}
@@ -480,17 +480,17 @@ Item {
horizontalOffset: 1
verticalOffset: 1
- radius: Math.round(4 * PlasmaCore.Units.devicePixelRatio)
- samples: radius * 2 + 1
- spread: 0.35
+ radius: Math.round(3 * PlasmaCore.Units.devicePixelRatio)
+ samples: radius * 2
+ spread: 0.435
- color: "black"
+ color: "#F9080808"
opacity: model.isHidden ? 0.6 : 1
source: label
- visible: !editor || editor.targetItem != main
+ visible: (!editor || editor.targetItem != main) && plasmoid.configuration.textShadows
}
}