menu items are menu children.

now works without packagekit dataengine installed
This commit is contained in:
Marco Martin 2012-10-22 11:32:02 +02:00
parent 595f6f43cd
commit eadae554b8

View File

@ -47,6 +47,17 @@ Item {
property bool hover: ListView ? true : false
property bool pressed: false
Connections {
target: highlight.ListView.view
onCurrentIndexChanged: {
if (highlight.ListView.view.currentIndex >= 0) {
background.opacity = 1
} else {
background.opacity = 0
}
}
}
PlasmaCore.FrameSvgItem {
id: background
imagePath: "widgets/viewitem"