Commit 6c2e271d authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

notifier: Also open discover when the plasmoid is expanded

It shouldn't be expanded
parent 66f3bec0
......@@ -46,13 +46,16 @@ Item
Plasmoid.preferredRepresentation: Plasmoid.compactRepresentation
Plasmoid.compactRepresentation: PlasmaCore.IconItem {
source: plasmoid.icon
MouseArea {
anchors.fill: parent
onClicked: action_update()
}
}
Plasmoid.onExpandedChanged: if (Plasmoid.expanded) {
action_update()
}
Component.onCompleted: {
plasmoid.setAction("discover", i18n("Open Software Center..."), "plasma-discover");
plasmoid.setAction("update", i18n("See Updates..."), "system-software-update");
......
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