Changeset View
Changeset View
Standalone View
Standalone View
applets/systemtray/package/contents/ui/main.qml
Show First 20 Lines • Show All 86 Lines • ▼ Show 20 Line(s) | 30 | MouseArea { | |||
---|---|---|---|---|---|
87 | 87 | | |||
88 | Connections { | 88 | Connections { | ||
89 | target: plasmoid.configuration | 89 | target: plasmoid.configuration | ||
90 | 90 | | |||
91 | onExtraItemsChanged: plasmoid.nativeInterface.allowedPlasmoids = plasmoid.configuration.extraItems | 91 | onExtraItemsChanged: plasmoid.nativeInterface.allowedPlasmoids = plasmoid.configuration.extraItems | ||
92 | } | 92 | } | ||
93 | 93 | | |||
94 | CurrentItemHighLight { | 94 | CurrentItemHighLight { | ||
95 | visualParent: tasksGrid | 95 | readonly property bool visibleAppletActivated: root.activeApplet && root.activeApplet.parent && root.activeApplet.parent.inVisibleLayout | ||
96 | target: root.activeApplet && root.activeApplet.parent && root.activeApplet.parent.inVisibleLayout ? root.activeApplet.parent.parent : root | 96 | parent: visibleAppletActivated ? root.activeApplet.parent : root | ||
97 | target: visibleAppletActivated ? root.activeApplet.parent : root | ||||
97 | location: plasmoid.location | 98 | location: plasmoid.location | ||
98 | } | 99 | } | ||
99 | 100 | | |||
100 | DnD.DropArea { | 101 | DnD.DropArea { | ||
101 | anchors.fill: parent | 102 | anchors.fill: parent | ||
102 | 103 | | |||
103 | preventStealing: true; | 104 | preventStealing: true; | ||
104 | 105 | | |||
▲ Show 20 Lines • Show All 145 Lines • Show Last 20 Lines |