Changeset View
Changeset View
Standalone View
Standalone View
applets/systemtray/package/contents/applet/CompactApplet.qml
Show All 22 Lines | |||||
23 | import org.kde.plasma.plasmoid 2.0 | 23 | import org.kde.plasma.plasmoid 2.0 | ||
24 | 24 | | |||
25 | 25 | | |||
26 | PlasmaCore.ToolTipArea { | 26 | PlasmaCore.ToolTipArea { | ||
27 | id: appletRoot | 27 | id: appletRoot | ||
28 | objectName: "org.kde.desktop-CompactApplet" | 28 | objectName: "org.kde.desktop-CompactApplet" | ||
29 | anchors.fill: parent | 29 | anchors.fill: parent | ||
30 | 30 | | |||
31 | icon: plasmoid.icon | | |||
32 | mainText: plasmoid.toolTipMainText | 31 | mainText: plasmoid.toolTipMainText | ||
33 | subText: plasmoid.toolTipSubText | 32 | subText: plasmoid.toolTipSubText | ||
34 | location: if (plasmoid.parent && plasmoid.parent.inHiddenLayout && plasmoid.location !== PlasmaCore.Types.LeftEdge) { | 33 | location: if (plasmoid.parent && plasmoid.parent.inHiddenLayout && plasmoid.location !== PlasmaCore.Types.LeftEdge) { | ||
35 | return PlasmaCore.Types.RightEdge; | 34 | return PlasmaCore.Types.RightEdge; | ||
36 | } else { | 35 | } else { | ||
37 | return plasmoid.location; | 36 | return plasmoid.location; | ||
38 | } | 37 | } | ||
39 | active: !plasmoid.expanded | 38 | active: !plasmoid.expanded | ||
▲ Show 20 Lines • Show All 43 Lines • Show Last 20 Lines |